Fail build on warning C4715
This commit is contained in:
@@ -19,6 +19,7 @@ function(SetWarningSettings TARGET)
|
||||
if (MSVC)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS "/wd4068")
|
||||
set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS "/we4715")
|
||||
set_target_properties(${TARGET} PROPERTIES LINK_FLAGS "/ignore:4099")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user