build: Fixed Objective-C compiler flags

This commit is contained in:
WerWolv 2023-04-13 17:07:34 +02:00
parent 3e87022da1
commit 1367e9cebe
1 changed files with 1 additions and 1 deletions

View File

@ -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})