mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-04 08:30:51 +00:00
wip
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@505 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user