diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-06-16 13:20:20 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-06-16 13:22:06 +0300 |
commit | 7d7090710c717e524d096d31608dfecac93e1009 (patch) | |
tree | 1bd8d47068e145114beaa141232f74d63ab76a5f /source/blender/makesrna/intern/CMakeLists.txt | |
parent | 38c9573b2388c37b1df7547a836c790d0f16f02c (diff) |
CMake: Fix compilation errors related on missing dna_type_offsets.h
Some of the files were (indirectly) using dna_type_offsets.h without
adding dependency from bf_dna (which is needed to ensure the file is
generated prior to library compilation).
Diffstat (limited to 'source/blender/makesrna/intern/CMakeLists.txt')
-rw-r--r-- | source/blender/makesrna/intern/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt index 024bdbe5ed5..dd7f5f684e7 100644 --- a/source/blender/makesrna/intern/CMakeLists.txt +++ b/source/blender/makesrna/intern/CMakeLists.txt @@ -443,3 +443,6 @@ set(LIB add_definitions(${GL_DEFINITIONS}) blender_add_lib(bf_rna "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") + +# Needed so we can use dna_type_offsets.h for defaults initialization. +add_dependencies(bf_blenkernel bf_dna) |