From 0ba4d7d95f7869ea86097baa45ca8cdec844f8f2 Mon Sep 17 00:00:00 2001 From: louist103 <35883445+louist103@users.noreply.github.com> Date: Wed, 22 Nov 2023 21:22:02 -0500 Subject: [PATCH] fix cmake --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5cd657d52..7d98ca01f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,7 +2,7 @@ add_library(libultraship STATIC) set_target_properties(libultraship PROPERTIES PREFIX "") set_property(TARGET libultraship PROPERTY CXX_STANDARD 20) # Need to set C11 for libgfxd (_Alignas) -set_property(TARGET libultraship PROPERTY_C_STANDARD 11) +set_property(TARGET libultraship PROPERTY C_STANDARD 11) set(INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../include) option(USE_OPENGLES "Enable GLES3" OFF)