From 2cf952088d375ac8b2f45b144462af0953436cff Mon Sep 17 00:00:00 2001 From: rtk0c Date: Wed, 29 Jun 2022 10:47:12 -0700 Subject: Convert CMake to use include directory inheritance through library targets --- 3rdparty/imgui/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '3rdparty/imgui') 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 -- cgit v1.2.3-70-g09d2