From bbeb0c2f34901f840517d702b74e770eb1c49783 Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 3 Feb 2023 23:58:04 +0100 Subject: Imgui is now linked statically and all warnings are disabled We do not control this code so the warnings may only potentially hide our own problems in logs. --- contrib/imgui/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.1