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:
Ray Molenkamp
2023-09-12 15:07:41 +02:00
committed by Ray molenkamp
parent 6c4eb80cc3
commit 5f8dfa231d
2 changed files with 4 additions and 4 deletions

View File

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

View File

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