From 1e09caaa2980fe901453b4b90985967a51157887 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Mon, 19 Apr 2021 14:00:47 -0700 Subject: Split workflow into multiple files, fix unity build --- 3rdparty/imgui-node-editor/CMakeLists.txt | 1 + 3rdparty/imgui/CMakeLists.txt | 1 + 3rdparty/implot/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+) (limited to '3rdparty') diff --git a/3rdparty/imgui-node-editor/CMakeLists.txt b/3rdparty/imgui-node-editor/CMakeLists.txt index 2730a8e..47199dc 100644 --- a/3rdparty/imgui-node-editor/CMakeLists.txt +++ b/3rdparty/imgui-node-editor/CMakeLists.txt @@ -1,6 +1,7 @@ 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 diff --git a/3rdparty/imgui/CMakeLists.txt b/3rdparty/imgui/CMakeLists.txt index de80f9a..bf09c56 100644 --- a/3rdparty/imgui/CMakeLists.txt +++ b/3rdparty/imgui/CMakeLists.txt @@ -5,6 +5,7 @@ file(GLOB IMGUI_SOURCES *.cpp) # the build flags twice both in here and in core/CMakeLists.txt add_library(imgui ${IMGUI_SOURCES}) +set_target_properties(imgui PROPERTIES UNITY_BUILD OFF) target_include_directories(imgui PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/imgui diff --git a/3rdparty/implot/CMakeLists.txt b/3rdparty/implot/CMakeLists.txt index 6b92b02..4fae8f2 100644 --- a/3rdparty/implot/CMakeLists.txt +++ b/3rdparty/implot/CMakeLists.txt @@ -1,6 +1,7 @@ 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 -- cgit v1.2.3-70-g09d2