From 1367e9cebe565561a58ae9f8190438248054b0bc Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 13 Apr 2023 17:07:34 +0200 Subject: [PATCH] build: Fixed Objective-C compiler flags --- lib/external/imgui/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/external/imgui/CMakeLists.txt b/lib/external/imgui/CMakeLists.txt index bbc6d63e4..cfe63f216 100644 --- a/lib/external/imgui/CMakeLists.txt +++ b/lib/external/imgui/CMakeLists.txt @@ -34,7 +34,7 @@ add_library(imgui OBJECT ) target_compile_definitions(imgui PUBLIC IMGUI_IMPL_OPENGL_LOADER_GLAD) -target_compile_options(imgui PUBLIC -Wno-stringop-overflow) +target_compile_options(imgui PRIVATE -Wno-stringop-overflow) target_include_directories(imgui PUBLIC include ${FREETYPE_INCLUDE_DIRS} ${GLFW_INCLUDE_DIRS} ${OpenGL_INCLUDE_DIRS}) target_link_directories(imgui PUBLIC ${GLFW_LIBRARY_DIRS} ${OpenGL_LIBRARY_DIRS})