This is an automated email from the ASF dual-hosted git repository.

asekretenko pushed a commit to branch 1.10.x
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/1.10.x by this push:
     new 0df09cd  Fixed wclayer download when in Windows build with CMake 3.17+
0df09cd is described below

commit 0df09cdfc3bfedc02dd65bf935866902bca24770
Author: Eduard Staniloiu <edi33...@gmail.com>
AuthorDate: Tue Jun 23 16:02:04 2020 +0300

    Fixed wclayer download when in Windows build with CMake 3.17+
    
    This fixes incorrect setting `DOWNLOAD_NO_EXTRACT FALSE` in the
    `wclayer` ExternalProject target, which breaks Windows build starting
    from CMake 3.17+
    
    The bug has apparently been triggered by the fix in the ExternalProject
    module that makes `DOWNLOAD_NO_EXTRACT OFF`/`DOWNLOAD_NO_EXTRACT FALSE`
    work correctly:
    
https://github.com/Kitware/CMake/commit/2c4bb705e842db66904df5014a5755b57ac51b72
    
    This closes #366
---
 3rdparty/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt
index 119813e..427f463 100644
--- a/3rdparty/CMakeLists.txt
+++ b/3rdparty/CMakeLists.txt
@@ -898,7 +898,7 @@ if (WIN32)
     CONFIGURE_COMMAND   ${CMAKE_NOOP}
     BUILD_COMMAND       ${CMAKE_NOOP}
     INSTALL_COMMAND     ${WCLAYER_INSTALL_CMD}
-    DOWNLOAD_NO_EXTRACT FALSE
+    DOWNLOAD_NO_EXTRACT TRUE
     URL                 ${WCLAYER_URL})
 endif ()
 

Reply via email to