Fix compilation error when building from scratch

Make sure the DNA offset files is ready at a time bf_windowmanager
need it.
This commit is contained in:
Sergey Sharybin 2020-11-06 13:49:56 +01:00
parent a331d5c992
commit 187adc64b4
1 changed files with 3 additions and 0 deletions

View File

@ -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)