We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b7a2142 + 8d06265 commit 9a89cc9Copy full SHA for 9a89cc9
cmake/compilerFlags.cmake
@@ -41,7 +41,7 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CYGWIN
41
42
add_compile_options(-Wp,-D_GLIBCXX_ASSERTIONS)
43
44
- if (CMAKE_BUILD_TYPE STREQUAL Release AND NOT APPLE AND NOT MSYS)
+ if (CMAKE_BUILD_TYPE STREQUAL Release AND NOT (APPLE OR MINGW OR MSYS))
45
add_compile_options(-Wp,-D_FORTIFY_SOURCE=2) # Requires to compile with -O2
46
endif()
47
0 commit comments