package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
394 B

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fad29a6..2a9e512 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -164,6 +164,9 @@ set_target_properties(ImGui-SFML PROPERTIES
PUBLIC_HEADER "${IMGUI_SFML_PUBLIC_HEADERS}"
)
+# Set minimum required standard
+target_compile_features(ImGui-SFML PUBLIC cxx_std_11)
+
if(IMGUI_SFML_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()