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/06/12 23:16:23 UTC

[17/27] mesos git commit: CMake: Updated zlib build arguments.

CMake: Updated zlib build arguments.

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


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

Branch: refs/heads/master
Commit: 00f59f8d54316db48ff1ff3c7c34f72312c73e0f
Parents: 628a5cd
Author: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Authored: Thu Jun 8 14:18:20 2017 -0700
Committer: Joseph Wu <jo...@apache.org>
Committed: Mon Jun 12 13:09:34 2017 -0700

----------------------------------------------------------------------
 3rdparty/CMakeLists.txt | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/00f59f8d/3rdparty/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt
index 0c3f986..05229a6 100755
--- a/3rdparty/CMakeLists.txt
+++ b/3rdparty/CMakeLists.txt
@@ -292,12 +292,11 @@ if (WIN32)
 
   ExternalProject_Add(
     ${ZLIB_TARGET}
-    PREFIX          ${ZLIB_CMAKE_ROOT}
-    CMAKE_ARGS      -DBUILD_SHARED_LIBS=OFF
-    BUILD_COMMAND   ${GLOG_BUILD_CMD}
-    INSTALL_COMMAND ${CMAKE_NOOP}
-    URL             ${ZLIB_URL}
-    URL_HASH        ${ZLIB_HASH}
+    PREFIX            ${ZLIB_CMAKE_ROOT}
+    CMAKE_ARGS        ${CMAKE_FORWARD_ARGS}
+    INSTALL_COMMAND   ${CMAKE_NOOP}
+    URL               ${ZLIB_URL}
+    URL_HASH          ${ZLIB_HASH}
   )
 endif (WIN32)