summaryrefslogtreecommitdiff
path: root/3rdparty/imnodes/CMakeLists.txt
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-03-28 13:24:52 -0700
committerrtk0c <[email protected]>2021-03-28 13:24:52 -0700
commitbdcc81822adddf2c6ad7f10d9e090d913475c1e0 (patch)
tree91997b21958992f4e9e48839166ea4feaa0712b1 /3rdparty/imnodes/CMakeLists.txt
parent442d2d75d71bbc057e667edc301a79fa1cc813be (diff)
Initial code structure
Diffstat (limited to '3rdparty/imnodes/CMakeLists.txt')
-rw-r--r--3rdparty/imnodes/CMakeLists.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/3rdparty/imnodes/CMakeLists.txt b/3rdparty/imnodes/CMakeLists.txt
index 16b007a..bb1290c 100644
--- a/3rdparty/imnodes/CMakeLists.txt
+++ b/3rdparty/imnodes/CMakeLists.txt
@@ -1,2 +1,10 @@
-file(GLOB_RECURSE IMNODES_SOURCES ${CMAKE_CURRENT_LIST_DIR}/*.cpp)
-add_library(imnodes IMNODES_SOURCES)
+set(IMNODES_SOURCES
+ imnodes.h
+ imnodes.cpp
+)
+
+add_library(imnodes ${IMNODES_SOURCES})
+target_include_directories(imnodes PRIVATE
+ ${CMAKE_SOURCE_DIR}/3rdparty/imnodes
+ ${CMAKE_SOURCE_DIR}/3rdparty/imgui
+)