Fix flags on Windows

This commit is contained in:
Georg Hagen
2025-02-06 23:53:11 +01:00
parent acd73f6cfb
commit 123c6ecc9b

View File

@@ -27,7 +27,6 @@ function(SetWarningSettings TARGET)
target_compile_options(${TARGET} PRIVATE "/wd4068;") target_compile_options(${TARGET} PRIVATE "/wd4068;")
set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS "/we4715") set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS "/we4715")
set_target_properties(${TARGET} PROPERTIES LINK_FLAGS "/ignore:4099") set_target_properties(${TARGET} PROPERTIES LINK_FLAGS "/ignore:4099")
target_compile_options(${TARGET} PRIVATE "/WX4715;")
endif() endif()
endif() endif()
endfunction() endfunction()