Merge pull request #1175 from Exiv2/fix_1102_msysGCC93_0.27

fix_1102_msysGCC93_0.27 (0.27->master)
v0.27.3
Robin Mills 5 years ago committed by GitHub
commit 56100bca1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save