fix_1102_msysGCC93_0.27
This commit is contained in:
parent
c905bd7a13
commit
b50d6503bc
@ -38,7 +38,7 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CYGWIN
|
||||
|
||||
add_compile_options(-Wp,-D_GLIBCXX_ASSERTIONS)
|
||||
|
||||
if (CMAKE_BUILD_TYPE STREQUAL Release AND NOT APPLE)
|
||||
if (CMAKE_BUILD_TYPE STREQUAL Release AND NOT APPLE AND NOT MSYS)
|
||||
add_compile_options(-Wp,-D_FORTIFY_SOURCE=2) # Requires to compile with -O2
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user