mirror of
https://git.freebsd.org/ports.git
synced 2025-06-14 09:10:32 -04:00
Changes: https://github.com/KhronosGroup/Vulkan-ValidationLayers/compare/v1.3.266...v1.3.267 Reported by: Repology, portscout
39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
CMake Error at layers/CMakeLists.txt:74 (target_link_libraries):
|
|
Target "VkLayer_utils" links to:
|
|
|
|
Vulkan::LayerSettings
|
|
|
|
but the target was not found. Possible reasons include:
|
|
|
|
* There is a typo in the target name.
|
|
* A find_package call is missing for an IMPORTED target.
|
|
* An ALIAS target is missing.
|
|
|
|
CMake Error at layers/CMakeLists.txt:318 (target_link_libraries):
|
|
Target "vvl" links to:
|
|
|
|
SPIRV-Headers::SPIRV-Headers
|
|
|
|
but the target was not found. Possible reasons include:
|
|
|
|
* There is a typo in the target name.
|
|
* A find_package call is missing for an IMPORTED target.
|
|
* An ALIAS target is missing.
|
|
|
|
--- CMakeLists.txt.orig 2023-10-07 00:41:35 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -72,8 +72,14 @@ find_package(VulkanUtilityLibraries CONFIG QUIET)
|
|
find_package(VulkanHeaders CONFIG QUIET)
|
|
|
|
find_package(VulkanUtilityLibraries CONFIG QUIET)
|
|
+if (NOT TARGET Vulkan::UtilityHeaders OR NOT TARGET Vulkan::LayerSettings)
|
|
+ add_subdirectory(Vulkan-Utility-Libraries EXCLUDE_FROM_ALL SYSTEM)
|
|
+endif()
|
|
|
|
find_package(SPIRV-Headers CONFIG QUIET)
|
|
+if (NOT TARGET SPIRV-Headers::SPIRV-Headers)
|
|
+ add_subdirectory(SPIRV-Headers EXCLUDE_FROM_ALL SYSTEM)
|
|
+endif()
|
|
|
|
find_package(SPIRV-Tools-opt CONFIG QUIET)
|
|
|