diff options
author | rtk0c <[email protected]> | 2022-06-29 10:47:12 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-06-29 10:47:12 -0700 |
commit | 2cf952088d375ac8b2f45b144462af0953436cff (patch) | |
tree | d437c348cff8fa79729b8bd3367f3e7c25cd0f32 /3rdparty/imgui-node-editor/CMakeLists.txt | |
parent | fad6a88a13ab1f888ab25ad0aae19c1d63aa0623 (diff) |
Convert CMake to use include directory inheritance through library targets
Diffstat (limited to '3rdparty/imgui-node-editor/CMakeLists.txt')
-rw-r--r-- | 3rdparty/imgui-node-editor/CMakeLists.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/3rdparty/imgui-node-editor/CMakeLists.txt b/3rdparty/imgui-node-editor/CMakeLists.txt index 614b7e9..83f2915 100644 --- a/3rdparty/imgui-node-editor/CMakeLists.txt +++ b/3rdparty/imgui-node-editor/CMakeLists.txt @@ -1,10 +1,13 @@ file(GLOB IMGUI_NODE_EDITOR_SOURCES *.cpp) add_library(imgui-node-editor ${IMGUI_NODE_EDITOR_SOURCES}) -set_target_properties(imgui-node-editor PROPERTIES UNITY_BUILD OFF) -target_include_directories(imgui-node-editor PRIVATE - ${CMAKE_SOURCE_DIR}/3rdparty/imgui-node-editor - ${CMAKE_SOURCE_DIR}/3rdparty/imgui +target_link_libraries(imgui-node-editor +PUBLIC + imgui +) +target_include_directories(imgui-node-editor +PUBLIC + ${CMAKE_CURRENT_LIST_DIR} ) set_target_properties(imgui-node-editor |