summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-09-30 13:49:38 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-09-30 13:49:50 (GMT)
commite36e11996f8f984a361f1c1b1e99978fbebc739b (patch)
tree030d83a599ed609baac822751b215b5c9581b8a9 /Source
parent98402581f4e5067ccc4bd2d6bf1558cc5edcdbc7 (diff)
parentc462d9243bd667eb3a5e97f94b13377e80e47198 (diff)
downloadCMake-e36e11996f8f984a361f1c1b1e99978fbebc739b.zip
CMake-e36e11996f8f984a361f1c1b1e99978fbebc739b.tar.gz
CMake-e36e11996f8f984a361f1c1b1e99978fbebc739b.tar.bz2
Merge topic 'enable-ssl-automatically'
c462d9243b CYGWIN,MSYS: Build CMake with OpenSSL by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9858
Diffstat (limited to 'Source')
-rw-r--r--Source/Modules/CMakeBuildUtilities.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Modules/CMakeBuildUtilities.cmake b/Source/Modules/CMakeBuildUtilities.cmake
index 9744bb3..09d8250 100644
--- a/Source/Modules/CMakeBuildUtilities.cmake
+++ b/Source/Modules/CMakeBuildUtilities.cmake
@@ -150,7 +150,7 @@ else()
endif()
set(_CMAKE_USE_OPENSSL_DEFAULT OFF)
if(NOT DEFINED CMAKE_USE_OPENSSL AND NOT WIN32 AND NOT APPLE
- AND CMAKE_SYSTEM_NAME MATCHES "(Linux|FreeBSD)")
+ AND CMAKE_SYSTEM_NAME MATCHES "(Linux|FreeBSD|CYGWIN|MSYS)")
set(_CMAKE_USE_OPENSSL_DEFAULT ON)
endif()
option(CMAKE_USE_OPENSSL "Use OpenSSL." ${_CMAKE_USE_OPENSSL_DEFAULT})