aboutsummaryrefslogtreecommitdiff
path: root/3rdparty/imgui/CMakeLists.txt
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-06-29 10:47:12 -0700
committerrtk0c <[email protected]>2022-06-29 10:47:12 -0700
commit2cf952088d375ac8b2f45b144462af0953436cff (patch)
treed437c348cff8fa79729b8bd3367f3e7c25cd0f32 /3rdparty/imgui/CMakeLists.txt
parentfad6a88a13ab1f888ab25ad0aae19c1d63aa0623 (diff)
Convert CMake to use include directory inheritance through library targets
Diffstat (limited to '3rdparty/imgui/CMakeLists.txt')
-rw-r--r--3rdparty/imgui/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/3rdparty/imgui/CMakeLists.txt b/3rdparty/imgui/CMakeLists.txt
index c0910d3..4bdfe9c 100644
--- a/3rdparty/imgui/CMakeLists.txt
+++ b/3rdparty/imgui/CMakeLists.txt
@@ -5,10 +5,9 @@ file(GLOB IMGUI_SOURCES *.cpp)
# the build flags twice both in here and in core/CMakeLists.txt
add_library(imgui ${IMGUI_SOURCES} ../../core/src/Model/Template/TableTemplateIterator.hpp)
-set_target_properties(imgui PROPERTIES UNITY_BUILD OFF)
target_include_directories(imgui
-PRIVATE
- ${CMAKE_SOURCE_DIR}/3rdparty/imgui
+PUBLIC
+ ${CMAKE_CURRENT_LIST_DIR}
)
set_target_properties(imgui