summaryrefslogtreecommitdiffstats
path: root/Imgui
diff options
context:
space:
mode:
authorThomas Tissot <thomas.tissot@zen.ly>2020-06-04 14:38:20 +0000
committerThomas Tissot <thomas.tissot@zen.ly>2020-06-05 07:45:18 +0000
commitb9f505c3aaa903e5f6566d007d59bc31e1ebb23c (patch)
tree6e343ca84ec5acaf0c01b884edd86686f5fdf815 /Imgui
parentMinor update to ImGuiUtils (diff)
downloadDiligentTools-b9f505c3aaa903e5f6566d007d59bc31e1ebb23c.tar.gz
DiligentTools-b9f505c3aaa903e5f6566d007d59bc31e1ebb23c.zip
Added option to customize dear ImGui path
Diffstat (limited to 'Imgui')
-rw-r--r--Imgui/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Imgui/CMakeLists.txt b/Imgui/CMakeLists.txt
index 1caef3d..baf147a 100644
--- a/Imgui/CMakeLists.txt
+++ b/Imgui/CMakeLists.txt
@@ -2,7 +2,12 @@ cmake_minimum_required (VERSION 3.6)
project(Diligent-Imgui CXX)
-set(DEAR_IMGUI_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../ThirdParty/imgui")
+if (NOT DILIGENT_DEAR_IMGUI_PATH)
+ set(DEAR_IMGUI_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../ThirdParty/imgui")
+else()
+ set(DEAR_IMGUI_PATH "${DILIGENT_DEAR_IMGUI_PATH}")
+endif()
+
set(IMGUIZMO_QUAT_PATH ../ThirdParty/imGuIZMO.quat)
set(DEAR_IMGUI_INCLUDE