[Bf-blender-cvs] [187adc64b4e] master: Fix compilation error when building from scratch

Sergey Sharybin noreply at git.blender.org
Fri Nov 6 13:50:32 CET 2020


Commit: 187adc64b4ed40a2d04878d10cc618f763501292
Author: Sergey Sharybin
Date:   Fri Nov 6 13:49:56 2020 +0100
Branches: master
https://developer.blender.org/rB187adc64b4ed40a2d04878d10cc618f763501292

Fix compilation error when building from scratch

Make sure the DNA offset files is ready at a time bf_windowmanager
need it.

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

M	source/blender/windowmanager/CMakeLists.txt

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

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)



More information about the Bf-blender-cvs mailing list