Fix ImGui-SFML on macosx (#1512)
* Fix ImGui-SFML on macosx * added the add_patches() * fix in the .patch * Add "" around the hash * Try to fix the error with the patch * fix the checksum * Update xmake.lua * fix the patch * Update macosx.patch * Update xmake.lua * Update xmake.lua Co-authored-by: ruki <waruqi@gmail.com>pull/1514/head
parent
a591c43770
commit
42d52fd516
2 changed files with 15 additions and 0 deletions
@ -0,0 +1,14 @@ |
||||
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()
|
Loading…
Reference in new issue