comparison Resources/CMake/OpenSslConfigurationStatic-1.1.1.cmake @ 3726:7b7ca203f1a3

fix mingw
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 06 Mar 2020 11:52:44 +0100
parents 8060880d5e66
children 6462ecaa045b
comparison
equal deleted inserted replaced
3725:8060880d5e66 3726:7b7ca203f1a3
206 # or curl) 206 # or curl)
207 add_definitions(-DTHIRTY_TWO_BIT) 207 add_definitions(-DTHIRTY_TWO_BIT)
208 208
209 209
210 if (NOT CMAKE_COMPILER_IS_GNUCXX OR 210 if (NOT CMAKE_COMPILER_IS_GNUCXX OR
211 "${CMAKE_SYSTEM_NAME}" STREQUAL "Windows" OR
211 "${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") 212 "${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase")
212 # This uses a gcc extension 213 # Disable the use of a gcc extension, that is neither available on
214 # MinGW, nor on LSB
213 add_definitions( 215 add_definitions(
214 -DOPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE 216 -DOPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
215 ) 217 )
216 endif() 218 endif()
217 219