CMake: quiet undefined variable use with MOLTENVK on non-apple systems

This commit is contained in:
Campbell Barton
2023-10-07 18:25:44 +11:00
parent b434d40dbf
commit 126cf64004
3 changed files with 31 additions and 5 deletions

View File

@@ -8,9 +8,14 @@ set(INC
set(INC_SYS
${VULKAN_INCLUDE_DIRS}
${MOLTENVK_INCLUDE_DIRS}
)
if(APPLE)
list(APPEND INC_SYS
${MOLTENVK_INCLUDE_DIRS}
)
endif()
set(SRC
vk_mem_alloc_impl.cc