summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/imgui/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/imgui/CMakeLists.txt b/contrib/imgui/CMakeLists.txt
index b87bfa3..6679340 100644
--- a/contrib/imgui/CMakeLists.txt
+++ b/contrib/imgui/CMakeLists.txt
@@ -1,6 +1,6 @@
project(imgui)
add_library(
- ${PROJECT_NAME}
+ ${PROJECT_NAME} STATIC
imgui.cpp
imgui_demo.cpp
imgui_draw.cpp
@@ -8,6 +8,10 @@ add_library(
imgui_widgets.cpp
rlImGui.cpp
)
+target_compile_options(
+ ${PROJECT_NAME}
+ PRIVATE -w
+)
target_compile_definitions(
${PROJECT_NAME}
PUBLIC NO_FONT_AWESOME