mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
safeseh:no only for msvc
This commit is contained in:
parent
d9aeeae3fc
commit
cb6158dd6a
|
@ -473,7 +473,7 @@ foreach(target ${TARGETS})
|
|||
endif()
|
||||
endforeach()
|
||||
|
||||
if(TARGET_OS STREQUAL "windows")
|
||||
if(TARGET_OS STREQUAL "windows" AND MSVC)
|
||||
set_property(TARGET ${TARGET_CLIENT} APPEND PROPERTY LINK_FLAGS /SAFESEH:NO) # Disable SafeSEH because the shipped libraries don't support it.
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue