diff options
author | Aki <please@ignore.pl> | 2023-02-03 23:58:04 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-02-03 23:58:30 +0100 |
commit | bbeb0c2f34901f840517d702b74e770eb1c49783 (patch) | |
tree | b5ff360c8e9f76231fc3e781c62e40d5dc36de32 /contrib/imgui | |
parent | 6b7d0e795bc57856a1bcaaab08229bb0869e8516 (diff) | |
download | kurator-bbeb0c2f34901f840517d702b74e770eb1c49783.zip kurator-bbeb0c2f34901f840517d702b74e770eb1c49783.tar.gz kurator-bbeb0c2f34901f840517d702b74e770eb1c49783.tar.bz2 |
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.
Diffstat (limited to 'contrib/imgui')
-rw-r--r-- | contrib/imgui/CMakeLists.txt | 6 |
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 |