diff options
author | Ray Molenkamp <github@lazydodo.com> | 2022-01-14 17:46:00 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2022-01-14 17:46:00 +0300 |
commit | 348631cffeada63c175ed7d44dec15302fbf2c7f (patch) | |
tree | d658a5cbd128ce8ac6b0bdf8a6246ebb8f3d1e75 | |
parent | 8ae6995e985b1a354e44c08cb023251d04a5113d (diff) |
Fix: Compilation error caused by missing target relation
bf_nodes/bf_nodes_composite depend on DNA headers
-rw-r--r-- | source/blender/nodes/CMakeLists.txt | 3 | ||||
-rw-r--r-- | source/blender/nodes/composite/CMakeLists.txt | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/nodes/CMakeLists.txt b/source/blender/nodes/CMakeLists.txt index 957c5b78342..402a71af27f 100644 --- a/source/blender/nodes/CMakeLists.txt +++ b/source/blender/nodes/CMakeLists.txt @@ -181,3 +181,6 @@ if(WITH_OPENVDB) endif() blender_add_lib(bf_nodes "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") + +# Needed so we can use dna_type_offsets.h for defaults initialization. +add_dependencies(bf_nodes bf_dna) diff --git a/source/blender/nodes/composite/CMakeLists.txt b/source/blender/nodes/composite/CMakeLists.txt index 0374f913d4b..aceca617fb4 100644 --- a/source/blender/nodes/composite/CMakeLists.txt +++ b/source/blender/nodes/composite/CMakeLists.txt @@ -158,3 +158,6 @@ if(WITH_UNITY_BUILD) set_target_properties(bf_nodes_composite PROPERTIES UNITY_BUILD ON) set_target_properties(bf_nodes_composite PROPERTIES UNITY_BUILD_BATCH_SIZE 10) endif() + +# Needed so we can use dna_type_offsets.h for defaults initialization. +add_dependencies(bf_nodes_composite bf_dna) |