From cee5a415185c22aadfbeeee24b887b0ca729ad5a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 6 Nov 2020 13:53:47 +0100 Subject: Fix compilation error of bf_draw Similar to previous commit, missing build dependency. --- source/blender/draw/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt index 72a1ee57e7d..665cc11c5a0 100644 --- a/source/blender/draw/CMakeLists.txt +++ b/source/blender/draw/CMakeLists.txt @@ -450,6 +450,9 @@ endif() blender_add_lib(bf_draw "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") +# Needed so we can use dna_type_offsets.h for defaults initialization. +add_dependencies(bf_draw bf_dna) + if(WITH_GTESTS) if(WITH_OPENGL_DRAW_TESTS) set(TEST_SRC -- cgit v1.2.3