aboutsummaryrefslogtreecommitdiff
path: root/3rdparty/imgui/CMakeLists.txt
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-04-06 20:52:51 -0700
committerrtk0c <[email protected]>2022-04-06 20:52:51 -0700
commitf163e8f37123e651ea80b690793845b31ddb8639 (patch)
treee2c9f14d600f073533c9d01cfb90c4d60938127c /3rdparty/imgui/CMakeLists.txt
parent11edae3fbf770695d1b263712ca4f3a40bdd70e3 (diff)
Changeset: 2 Work on moving infrastruture to this project
Diffstat (limited to '3rdparty/imgui/CMakeLists.txt')
-rw-r--r--3rdparty/imgui/CMakeLists.txt11
1 files changed, 8 insertions, 3 deletions
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
+)