Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2020-11-06 15:49:56 +0300
committerSergey Sharybin <sergey@blender.org>2020-11-06 15:49:56 +0300
commit187adc64b4ed40a2d04878d10cc618f763501292 (patch)
tree3c3f92b8b5692a3a2277318abe09dde844369b88 /source/blender/windowmanager
parenta331d5c99299c4514ca33c843b1c79b872f2728d (diff)
Fix compilation error when building from scratch
Make sure the DNA offset files is ready at a time bf_windowmanager need it.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/CMakeLists.txt b/source/blender/windowmanager/CMakeLists.txt
index 3a6d5705a79..7e13cef4a73 100644
--- a/source/blender/windowmanager/CMakeLists.txt
+++ b/source/blender/windowmanager/CMakeLists.txt
@@ -209,3 +209,6 @@ if(WITH_XR_OPENXR)
endif()
blender_add_lib_nolist(bf_windowmanager "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
+
+# Needed so we can use dna_type_offsets.h for defaults initialization.
+add_dependencies(bf_windowmanager bf_dna)