[Bf-blender-cvs] [b8157f5bf13] master: Fix compilation error caused by missing target relation

Sergey Sharybin noreply at git.blender.org
Thu Jan 13 17:26:32 CET 2022


Commit: b8157f5bf13ceb2fd69295be14d13ddf72e12efd
Author: Sergey Sharybin
Date:   Thu Jan 13 17:25:57 2022 +0100
Branches: master
https://developer.blender.org/rBb8157f5bf13ceb2fd69295be14d13ddf72e12efd

Fix compilation error caused by missing target relation

Space clip depends on DNA now so that it can access offsets.

===================================================================

M	source/blender/editors/space_clip/CMakeLists.txt

===================================================================

diff --git a/source/blender/editors/space_clip/CMakeLists.txt b/source/blender/editors/space_clip/CMakeLists.txt
index 06179ffdd95..db881dafa6b 100644
--- a/source/blender/editors/space_clip/CMakeLists.txt
+++ b/source/blender/editors/space_clip/CMakeLists.txt
@@ -72,4 +72,8 @@ if(WITH_INTERNATIONAL)
   add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
+
 blender_add_lib(bf_editor_space_clip "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
+
+# Needed so we can use dna_type_offsets.h for defaults initialization.
+add_dependencies(bf_editor_space_clip bf_dna)



More information about the Bf-blender-cvs mailing list