You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2017/09/05 20:50:28 UTC
[2/2] mesos git commit: CMake: Fixed two instances of list appending
style.
CMake: Fixed two instances of list appending style.
These two were missed by commit
7f1598bc1030e965e4e7bbf4a897ea9aff50a977 .
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2bb7a8d3
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2bb7a8d3
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/2bb7a8d3
Branch: refs/heads/master
Commit: 2bb7a8d31b25e294fb8b1e657a2f932059e469a1
Parents: 8c1bfaa
Author: Joseph Wu <jo...@apache.org>
Authored: Tue Sep 5 13:49:10 2017 -0700
Committer: Joseph Wu <jo...@apache.org>
Committed: Tue Sep 5 13:49:40 2017 -0700
----------------------------------------------------------------------
src/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/2bb7a8d3/src/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0562b2b..1a828c4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -566,12 +566,12 @@ endif ()
# Include source for linux build.
if (LINUX)
- set(MESOS_SRC ${MESOS_SRC} ${LINUX_SRC})
+ list(APPEND MESOS_SRC ${LINUX_SRC})
endif ()
# Include source for Windows build.
if (WIN32)
- set(MESOS_SRC ${MESOS_SRC} ${WIN32_SRC})
+ list(APPEND MESOS_SRC ${WIN32_SRC})
endif ()
# Generate all binaries in the same folder.