git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@505 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-29 21:44:51 +00:00
parent a9263fe8b5
commit 1e11963ff4
21 changed files with 101515 additions and 25 deletions

View File

@@ -143,10 +143,12 @@ else()
list(APPEND LIBRARIES dl)
endif()
if(VULKAN)
pkg_check_modules(VULKAN REQUIRED vulkan)
list(APPEND INCLUDE_DIRS ${VULKAN_INCLUDE_DIRS})
list(APPEND LIBRARY_DIRS ${VULKAN_LIBRARY_DIRS})
list(APPEND LIBRARIES ${VULKAN_LIBRARIES})
if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
list(APPEND INCLUDE_DIRS /usr/pkg/include)
else()
pkg_check_modules(VULKAN REQUIRED vulkan)
list(APPEND INCLUDE_DIRS ${VULKAN_INCLUDE_DIRS})
endif()
endif()
endif()