We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e605e96 commit 7536cdeCopy full SHA for 7536cde
1 file changed
CMakeLists.txt
@@ -34,6 +34,13 @@ target_sources(${PROJECT_NAME} PRIVATE
34
${imgui_SOURCE_DIR}/misc/cpp/imgui_stdlib.cpp
35
)
36
37
+# Love you imgui
38
+include(CheckCXXCompilerFlag)
39
+check_cxx_compiler_flag(-Wnontrivial-memcall HAVE_NONTRIVIAL_MEMCALL)
40
+if (HAVE_NONTRIVIAL_MEMCALL)
41
+ target_compile_options(${PROJECT_NAME} PRIVATE -Wno-nontrivial-memcall)
42
+endif()
43
+
44
# i still dont like this (alk)
45
target_compile_definitions(geode-sdk INTERFACE GEODE_EXPOSE_SECRET_INTERNALS_IN_HEADERS_DO_NOT_DEFINE_PLEASE)
46
0 commit comments