summaryrefslogtreecommitdiffstats
path: root/Utilities/Release
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-18 15:42:21 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-22 13:47:46 (GMT)
commit202056cdb89da39e35d8af745c1ff0852a9be75d (patch)
treef69d20b48a8898ff988a0eb5c171c89025ffb4fd /Utilities/Release
parentd64caa5372b182ce48f752c9afb9141d56055bd2 (diff)
downloadCMake-202056cdb89da39e35d8af745c1ff0852a9be75d.zip
CMake-202056cdb89da39e35d8af745c1ff0852a9be75d.tar.gz
CMake-202056cdb89da39e35d8af745c1ff0852a9be75d.tar.bz2
Utilities/Release: Build Windows and OS X binaries with native SSL
For the nightly binaries, turn of CMAKE_USE_OPENSSL on Windows and OS X 10.6+ platforms. This will activate the new curl behavior to use the OS-native SSL/TLS implementation.
Diffstat (limited to 'Utilities/Release')
-rw-r--r--Utilities/Release/dash2win64_release.cmake7
-rw-r--r--Utilities/Release/dashmacmini5_release.cmake7
2 files changed, 12 insertions, 2 deletions
diff --git a/Utilities/Release/dash2win64_release.cmake b/Utilities/Release/dash2win64_release.cmake
index 848e2f4..345870b 100644
--- a/Utilities/Release/dash2win64_release.cmake
+++ b/Utilities/Release/dash2win64_release.cmake
@@ -7,8 +7,13 @@ set(CPACK_BINARY_GENERATORS "NSIS ZIP")
set(CPACK_SOURCE_GENERATORS "ZIP")
set(MAKE_PROGRAM "make")
set(MAKE "${MAKE_PROGRAM} -j8")
+if(CMAKE_CREATE_VERSION STREQUAL "nightly")
+ set(CMAKE_USE_OPENSSL OFF)
+else()
+ set(CMAKE_USE_OPENSSL ON)
+endif()
set(INITIAL_CACHE "CMAKE_BUILD_TYPE:STRING=Release
-CMAKE_USE_OPENSSL:BOOL=ON
+CMAKE_USE_OPENSSL:BOOL=${CMAKE_USE_OPENSSL}
CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
CMAKE_Fortran_COMPILER:FILEPATH=FALSE
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
diff --git a/Utilities/Release/dashmacmini5_release.cmake b/Utilities/Release/dashmacmini5_release.cmake
index a9c9cfb..910fcbd 100644
--- a/Utilities/Release/dashmacmini5_release.cmake
+++ b/Utilities/Release/dashmacmini5_release.cmake
@@ -8,8 +8,13 @@ set(MAKE "${MAKE_PROGRAM} -j5")
set(CPACK_BINARY_GENERATORS "DragNDrop TGZ TZ")
set(CPACK_SOURCE_GENERATORS "TGZ TZ")
set(CPACK_DMG_FORMAT "UDBZ") #build using bzip2 for smaller package size
+if(CMAKE_CREATE_VERSION STREQUAL "nightly")
+ set(CMAKE_USE_OPENSSL OFF)
+else()
+ set(CMAKE_USE_OPENSSL ON)
+endif()
set(INITIAL_CACHE "
-CMAKE_USE_OPENSSL:BOOL=ON
+CMAKE_USE_OPENSSL:BOOL=${CMAKE_USE_OPENSSL}
OPENSSL_CRYPTO_LIBRARY:FILEPATH=/Users/kitware/openssl-1.0.1g-install/lib/libcrypto.a
OPENSSL_INCLUDE_DIR:PATH=/Users/kitware/openssl-1.0.1g-install/include
OPENSSL_SSL_LIBRARY:FILEPATH=/Users/kitware/openssl-1.0.1g-install/lib/libssl.a