aboutsummaryrefslogtreecommitdiff
path: root/3rdparty/implot/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/implot/CMakeLists.txt')
-rw-r--r--3rdparty/implot/CMakeLists.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/3rdparty/implot/CMakeLists.txt b/3rdparty/implot/CMakeLists.txt
index ee02f6a..ab6b3aa 100644
--- a/3rdparty/implot/CMakeLists.txt
+++ b/3rdparty/implot/CMakeLists.txt
@@ -1,10 +1,13 @@
file(GLOB IMPLOT_SOURCES *.cpp)
add_library(implot ${IMPLOT_SOURCES})
-set_target_properties(implot PROPERTIES UNITY_BUILD OFF)
-target_include_directories(implot PRIVATE
- ${CMAKE_SOURCE_DIR}/3rdparty/implot
- ${CMAKE_SOURCE_DIR}/3rdparty/imgui
+target_link_libraries(implot
+PUBLIC
+ imgui
+)
+target_include_directories(implot
+PUBLIC
+ ${CMAKE_CURRENT_LIST_DIR}
)
set_target_properties(implot