We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb72c2 commit 9c29d1eCopy full SHA for 9c29d1e
1 file changed
test/CMakeLists.txt
@@ -41,6 +41,9 @@ function(add_sdl_image_test_executable TARGET)
41
$<TARGET_PROPERTY:${sdl3_image_target_name},COMPILE_DEFINITIONS>
42
)
43
sdl_add_warning_options(${TARGET} WARNING_AS_ERROR ${SDLIMAGE_WERROR})
44
+ if("c_std_99" IN_LIST CMAKE_C_COMPILE_FEATURES)
45
+ target_compile_features(${TARGET} PRIVATE c_std_99)
46
+ endif()
47
target_link_libraries(${TARGET} PRIVATE SDL3_image::SDL3_image SDL3::SDL3_test SDL3::SDL3)
48
49
if(SDLIMAGE_TESTS_INSTALL)
0 commit comments