CMake: Disabled agent build on Windows.

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


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

Branch: refs/heads/master
Commit: 7f0906af84c18a8ee9f4b6de4eff1e56a7e38243
Parents: 1e3ced3
Author: Alex Clemmer <[email protected]>
Authored: Sat Oct 3 16:51:36 2015 -0700
Committer: Joris Van Remoortere <[email protected]>
Committed: Sat Oct 3 17:32:17 2015 -0700

----------------------------------------------------------------------
 CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/7f0906af/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index beacdc2..a5a66c1 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,4 +88,7 @@ include(MesosConfigure)
 # SUBDIRECTORIES.
 #################
 add_subdirectory(3rdparty)
-add_subdirectory(src)
+
+if (NOT WIN32)
+  add_subdirectory(src)
+endif (NOT WIN32)

Reply via email to