From b8157f5bf13ceb2fd69295be14d13ddf72e12efd Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 13 Jan 2022 17:25:57 +0100 Subject: [PATCH] Fix compilation error caused by missing target relation Space clip depends on DNA now so that it can access offsets. --- source/blender/editors/space_clip/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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)