diff Resources/CMake/DatabasesFrameworkConfiguration.cmake @ 358:1280b40d6696

switch to OpenSSL 3.0.x
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Feb 2022 09:27:40 +0100
parents 2592c0e9b724
children 16aac0287485
line wrap: on
line diff
--- a/Resources/CMake/DatabasesFrameworkConfiguration.cmake	Mon Dec 06 17:22:55 2021 +0100
+++ b/Resources/CMake/DatabasesFrameworkConfiguration.cmake	Mon Feb 21 09:27:40 2022 +0100
@@ -29,10 +29,7 @@
 if (ENABLE_POSTGRESQL_BACKEND)
   set(ENABLE_CRYPTO_OPTIONS ON)
   set(ENABLE_ZLIB ON)
-
-  if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
-    set(ENABLE_OPENSSL_ENGINES ON)
-  endif()
+  set(ENABLE_OPENSSL_ENGINES ON)
 endif()
 
 if (ENABLE_MYSQL_BACKEND)
@@ -41,10 +38,7 @@
   set(ENABLE_ZLIB ON)
   set(ENABLE_LOCALE ON)      # iconv is needed
   set(ENABLE_WEB_CLIENT ON)  # libcurl is needed
-
-  if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
-    set(ENABLE_OPENSSL_ENGINES ON)
-  endif()
+  set(ENABLE_OPENSSL_ENGINES ON)
 endif()
 
 if (ENABLE_ODBC_BACKEND)