From f163e8f37123e651ea80b690793845b31ddb8639 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Wed, 6 Apr 2022 20:52:51 -0700 Subject: Changeset: 2 Work on moving infrastruture to this project --- 3rdparty/imgui/CMakeLists.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to '3rdparty/imgui/CMakeLists.txt') diff --git a/3rdparty/imgui/CMakeLists.txt b/3rdparty/imgui/CMakeLists.txt index e0e95b0..5dcd24e 100644 --- a/3rdparty/imgui/CMakeLists.txt +++ b/3rdparty/imgui/CMakeLists.txt @@ -1,8 +1,13 @@ # Note: we are not including files under backend/ here: those are #included in project main source files -file(GLOB IMGUI_HEDAER ${CMAKE_CURRENT_LIST_DIR}/*.h) -file(GLOB IMGUI_SOURCE ${CMAKE_CURRENT_LIST_DIR}/*.cpp) +file(GLOB IMGUI_HEDAER ${CMAKE_CURRENT_LIST_DIR}/source/*.h) +file(GLOB IMGUI_SOURCE ${CMAKE_CURRENT_LIST_DIR}/source/*.cpp) add_library(imgui ${IMGUI_HEDAER} ${IMGUI_SOURCE} ) -target_include_directories(imgui PUBLIC ${CMAKE_CURRENT_LIST_DIR}) +target_include_directories(imgui PUBLIC ${CMAKE_CURRENT_LIST_DIR}/source) + +set_target_properties(imgui +PROPERTIES + UNITY_BUILD OFF +) -- cgit v1.2.3-70-g09d2