diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 96567da..3d57903 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -122,6 +122,7 @@ foreach(CC_STANDARD ${CC_STANDARDS}) set_target_properties(LanguageC${CC_STANDARD}Extensions${CC_EXTENSION}.test PROPERTIES C_STANDARD_REQUIRED TRUE) set_target_properties(LanguageC${CC_STANDARD}Extensions${CC_EXTENSION}.test PROPERTIES C_EXTENSIONS ${CC_EXTENSION}) target_link_libraries(LanguageC${CC_STANDARD}Extensions${CC_EXTENSION}.test PRIVATE Khaos::Khaos KhaosTestFlags) + target_compile_options(LanguageC${CC_STANDARD}Extensions${CC_EXTENSION}.test PRIVATE $<$:$<$:/Za>>) add_test(NAME "Test the language C${CC_STANDARD} extensions ${CC_EXTENSION}" COMMAND LanguageC${CC_STANDARD}Extensions${CC_EXTENSION}.test) endforeach() endif()