diff options
author | Julian Eisel <julian@blender.org> | 2022-03-28 01:13:49 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-03-28 01:13:49 +0300 |
commit | eaa58a1607ec6d8c58b128bcaac69cc64029472b (patch) | |
tree | ee6e4ae625ee69ad25b71027b989ab02d2bf0673 /source/blender | |
parent | 72e67691ed29d5ee1f0fa6fa0c78297ca80aaa6b (diff) |
Adopt to RNA prototypes changes in master (fix compile error)
Diffstat (limited to 'source/blender')
3 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/space_assets/CMakeLists.txt b/source/blender/editors/space_assets/CMakeLists.txt index 37da8593b72..aeabfd67887 100644 --- a/source/blender/editors/space_assets/CMakeLists.txt +++ b/source/blender/editors/space_assets/CMakeLists.txt @@ -27,6 +27,8 @@ set(INC ../../windowmanager ../../../../intern/glew-mx ../../../../intern/guardedalloc + # RNA_prototypes.h + ${CMAKE_BINARY_DIR}/source/blender/makesrna ) set(SRC @@ -45,3 +47,6 @@ set(LIB ) blender_add_lib(bf_editor_space_assets "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") + +# RNA_prototypes.h +add_dependencies(bf_editor_space_assets bf_rna) diff --git a/source/blender/editors/space_assets/asset_browser_draw.cc b/source/blender/editors/space_assets/asset_browser_draw.cc index f2c6d91895e..76eaf800476 100644 --- a/source/blender/editors/space_assets/asset_browser_draw.cc +++ b/source/blender/editors/space_assets/asset_browser_draw.cc @@ -24,6 +24,7 @@ #include "BKE_context.h" #include "RNA_access.h" +#include "RNA_prototypes.h" #include "UI_interface.h" #include "UI_resources.h" diff --git a/source/blender/editors/space_assets/asset_browser_panels.cc b/source/blender/editors/space_assets/asset_browser_panels.cc index 8bca504208d..24a520b8881 100644 --- a/source/blender/editors/space_assets/asset_browser_panels.cc +++ b/source/blender/editors/space_assets/asset_browser_panels.cc @@ -34,6 +34,7 @@ #include "MEM_guardedalloc.h" #include "RNA_access.h" +#include "RNA_prototypes.h" #include "UI_interface.h" #include "UI_resources.h" |