aboutsummaryrefslogtreecommitdiff
path: root/3rdparty/imgui/CMakeLists.txt
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-19 12:44:21 -0700
committerhnOsmium0001 <[email protected]>2022-04-19 12:44:29 -0700
commitc8ebee643f23c34ff57f69f8dfcf1903b59ea9d1 (patch)
tree180ebc73527d9db9df1a1c021caa889bc834fcdc /3rdparty/imgui/CMakeLists.txt
parent54e2e09ef1203d71e503c79d2eddadfa71b88322 (diff)
Fix imgui include path, fix invalid #pragma's
Diffstat (limited to '3rdparty/imgui/CMakeLists.txt')
-rw-r--r--3rdparty/imgui/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/3rdparty/imgui/CMakeLists.txt b/3rdparty/imgui/CMakeLists.txt
index a82b94f..c9cdc1b 100644
--- a/3rdparty/imgui/CMakeLists.txt
+++ b/3rdparty/imgui/CMakeLists.txt
@@ -2,7 +2,11 @@ file(GLOB_RECURSE IMGUI_SOURCE ${CMAKE_CURRENT_LIST_DIR}/source/*.cpp)
add_library(imgui
${IMGUI_SOURCE}
)
-target_include_directories(imgui PUBLIC ${CMAKE_CURRENT_LIST_DIR}/source)
+target_include_directories(imgui PUBLIC
+ ${CMAKE_SOURCE_DIR}/3rdparty/glfw/source/include
+ ${CMAKE_SOURCE_DIR}/3rdparty/glad/include
+ ${CMAKE_CURRENT_LIST_DIR}/source
+)
set_target_properties(imgui
PROPERTIES