From 8b9f391c539c9ebbcb2a3244bc50436af46f8f9c Mon Sep 17 00:00:00 2001 From: oxmox Date: Thu, 23 Feb 2023 06:17:38 +0100 Subject: [PATCH] dp_doom: force C11 for _Static_assert() --- src/dp_doom/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dp_doom/CMakeLists.txt b/src/dp_doom/CMakeLists.txt index e6d45bd..9799141 100644 --- a/src/dp_doom/CMakeLists.txt +++ b/src/dp_doom/CMakeLists.txt @@ -135,7 +135,7 @@ add_executable(dp_doom WIN32 "linuxdoom-1.10/z_zone.c" ) -set_target_properties(dp_doom PROPERTIES C_STANDARD 99) +target_compile_features(dp_doom PRIVATE c_std_11) # Handling linking/building WildMIDI if(WILDMIDI)