mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
graphics/vulkan-extension-layer: unbundle graphics/vulkan-utility-libraries
This commit is contained in:
parent
e6894cd680
commit
690f751b04
2 changed files with 2 additions and 26 deletions
|
@ -9,13 +9,13 @@ WWW= https://github.com/KhronosGroup/Vulkan-ExtensionLayer
|
||||||
|
|
||||||
LICENSE= APACHE20
|
LICENSE= APACHE20
|
||||||
|
|
||||||
BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers
|
BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers \
|
||||||
|
vulkan-utility-libraries>0:graphics/vulkan-utility-libraries
|
||||||
|
|
||||||
USES= cmake compiler:c++11-lib pkgconfig
|
USES= cmake compiler:c++11-lib pkgconfig
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= KhronosGroup
|
GH_ACCOUNT= KhronosGroup
|
||||||
GH_PROJECT= Vulkan-ExtensionLayer
|
GH_PROJECT= Vulkan-ExtensionLayer
|
||||||
GH_TUPLE= KhronosGroup:Vulkan-Utility-Libraries:${DISTVERSIONPREFIX}${DISTVERSION}:utils/Vulkan-Utility-Libraries
|
|
||||||
CMAKE_OFF= BUILD_TESTS
|
CMAKE_OFF= BUILD_TESTS
|
||||||
|
|
||||||
OPTIONS_DEFINE= WAYLAND XCB XLIB
|
OPTIONS_DEFINE= WAYLAND XCB XLIB
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
CMake Error at CMakeLists.txt:69 (find_package):
|
|
||||||
Could not find a package configuration file provided by
|
|
||||||
"VulkanUtilityLibraries" with any of the following names:
|
|
||||||
|
|
||||||
VulkanUtilityLibrariesConfig.cmake
|
|
||||||
vulkanutilitylibraries-config.cmake
|
|
||||||
|
|
||||||
Add the installation prefix of "VulkanUtilityLibraries" to
|
|
||||||
CMAKE_PREFIX_PATH or set "VulkanUtilityLibraries_DIR" to a directory
|
|
||||||
containing one of the above files. If "VulkanUtilityLibraries" provides a
|
|
||||||
separate development package or SDK, be sure it has been installed.
|
|
||||||
|
|
||||||
--- CMakeLists.txt.orig 2023-11-28 17:03:03 UTC
|
|
||||||
+++ CMakeLists.txt
|
|
||||||
@@ -68,6 +68,9 @@ find_package(VulkanUtilityLibraries CONFIG)
|
|
||||||
|
|
||||||
find_package(VulkanHeaders CONFIG)
|
|
||||||
find_package(VulkanUtilityLibraries CONFIG)
|
|
||||||
+if (NOT TARGET Vulkan::UtilityHeaders OR NOT TARGET Vulkan::LayerSettings)
|
|
||||||
+ add_subdirectory(Vulkan-Utility-Libraries EXCLUDE_FROM_ALL SYSTEM)
|
|
||||||
+endif()
|
|
||||||
|
|
||||||
add_subdirectory(layers)
|
|
||||||
add_subdirectory(utils)
|
|
Loading…
Add table
Reference in a new issue