CMake: Fix building with WITH_VULKAN_BACKEND
Ghost uses vulkan in its public headers but none of the projects that depend on ghost had the vulkan headers in its includes nor did bf_intern_ghost expose this vulkan dependency itself publicly yet. bf_windowmanager also did not express its dependency on bf_intern_ghost yet used its headers. this change fixes both issues. Pull Request: https://projects.blender.org/blender/blender/pulls/112259
This commit is contained in:
committed by
Ray molenkamp
parent
6c4eb80cc3
commit
5f8dfa231d
@@ -3,7 +3,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
set(INC
|
||||
.
|
||||
PUBLIC .
|
||||
../clog
|
||||
../../source/blender/imbuf
|
||||
)
|
||||
@@ -89,8 +89,8 @@ if(WITH_VULKAN_BACKEND)
|
||||
)
|
||||
|
||||
list(APPEND INC_SYS
|
||||
${VULKAN_INCLUDE_DIRS}
|
||||
${MOLTENVK_INCLUDE_DIRS}
|
||||
PUBLIC ${VULKAN_INCLUDE_DIRS}
|
||||
PUBLIC ${MOLTENVK_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
list(APPEND LIB
|
||||
|
||||
@@ -22,7 +22,6 @@ set(INC
|
||||
../render
|
||||
../sequencer
|
||||
../../../intern/clog
|
||||
../../../intern/ghost
|
||||
../../../intern/memutil
|
||||
../../../extern/fmtlib/include
|
||||
../bmesh
|
||||
@@ -105,6 +104,7 @@ set(LIB
|
||||
bf_editor_screen
|
||||
PRIVATE bf::intern::guardedalloc
|
||||
bf_sequencer
|
||||
bf_intern_ghost
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
|
||||
Reference in New Issue
Block a user