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 2015/09/28 01:27:41 UTC

[02/20] mesos git commit: CMake: Only compile proc_tests.cpp for Linux platforms.

CMake: Only compile proc_tests.cpp for Linux platforms.

Review: https://reviews.apache.org/r/38529


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1eb0519e
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1eb0519e
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1eb0519e

Branch: refs/heads/master
Commit: 1eb0519eb1ffefb388e9ecad36e4b24413febcb8
Parents: c98b33e
Author: Alex Clemmer <cl...@gmail.com>
Authored: Sun Sep 27 15:41:14 2015 -0700
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Sun Sep 27 16:02:43 2015 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/3rdparty/stout/tests/CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/1eb0519e/3rdparty/libprocess/3rdparty/stout/tests/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/CMakeLists.txt b/3rdparty/libprocess/3rdparty/stout/tests/CMakeLists.txt
index baa648a..94292f8 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/CMakeLists.txt
+++ b/3rdparty/libprocess/3rdparty/stout/tests/CMakeLists.txt
@@ -55,7 +55,6 @@ if (NOT WIN32)
     mac_tests.cpp
     os_tests.cpp
     path_tests.cpp
-    proc_tests.cpp
     protobuf_tests.cpp
     protobuf_tests.pb.cc
     recordio_tests.cpp
@@ -67,6 +66,10 @@ if (NOT WIN32)
     )
 endif (NOT WIN32)
 
+if (LINUX)
+  set(STOUT_TESTS_SRC ${STOUT_TESTS_SRC} proc_tests.cpp)
+endif (LINUX)
+
 # INCLUDE DIRECTIVES FOR STOUT TEST BINARY (generates, e.g., -I/path/to/thing
 # on Linux).
 #############################################################################