changeset 3726:7b7ca203f1a3

fix mingw
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 06 Mar 2020 11:52:44 +0100
parents 8060880d5e66
children 090022f1b5e1
files Resources/CMake/OpenSslConfigurationStatic-1.1.1.cmake
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/OpenSslConfigurationStatic-1.1.1.cmake	Fri Mar 06 10:56:24 2020 +0100
+++ b/Resources/CMake/OpenSslConfigurationStatic-1.1.1.cmake	Fri Mar 06 11:52:44 2020 +0100
@@ -208,8 +208,10 @@
 
 
 if (NOT CMAKE_COMPILER_IS_GNUCXX OR
+    "${CMAKE_SYSTEM_NAME}" STREQUAL "Windows" OR
     "${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase")
-  # This uses a gcc extension
+  # Disable the use of a gcc extension, that is neither available on
+  # MinGW, nor on LSB
   add_definitions(
     -DOPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
     )