From 123c6ecc9b84b67776f1b64a9bd53b85036aa5f4 Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Thu, 6 Feb 2025 23:53:11 +0100 Subject: [PATCH] Fix flags on Windows --- cmake/functions/SetCompilerSettings.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/functions/SetCompilerSettings.cmake b/cmake/functions/SetCompilerSettings.cmake index ef7187b..e4abd9f 100644 --- a/cmake/functions/SetCompilerSettings.cmake +++ b/cmake/functions/SetCompilerSettings.cmake @@ -27,7 +27,6 @@ function(SetWarningSettings TARGET) target_compile_options(${TARGET} PRIVATE "/wd4068;") set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS "/we4715") set_target_properties(${TARGET} PROPERTIES LINK_FLAGS "/ignore:4099") - target_compile_options(${TARGET} PRIVATE "/WX4715;") endif() endif() endfunction() \ No newline at end of file