summaryrefslogtreecommitdiff
path: root/graphics/vulkan-validation-layers/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-03-16 04:06:06 +0000
committerJan Beich <jbeich@FreeBSD.org>2022-03-16 19:52:29 +0000
commit3277bda3c8c35bb905a4985919ec017714197ec6 (patch)
tree2eaea169b2b790dea5adfef10e64d72903c1aa7d /graphics/vulkan-validation-layers/files/patch-CMakeLists.txt
parentwww/nextcloud-calendar: Update to 3.2.2 (diff)
graphics/vulkan-validation-layers: update to 1.3.208
Changes: https://github.com/KhronosGroup/Vulkan-ValidationLayers/compare/v1.3.206...v1.3.208 Reported by: Repology
Diffstat (limited to 'graphics/vulkan-validation-layers/files/patch-CMakeLists.txt')
-rw-r--r--graphics/vulkan-validation-layers/files/patch-CMakeLists.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/vulkan-validation-layers/files/patch-CMakeLists.txt b/graphics/vulkan-validation-layers/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..3ff257ff0ce6
--- /dev/null
+++ b/graphics/vulkan-validation-layers/files/patch-CMakeLists.txt
@@ -0,0 +1,23 @@
+CMake Error at CMakeLists.txt:255 (find_package):
+ Could not find a package configuration file provided by "robin_hood" with
+ any of the following names:
+
+ robin_hoodConfig.cmake
+ robin_hood-config.cmake
+
+ Add the installation prefix of "robin_hood" to CMAKE_PREFIX_PATH or set
+ "robin_hood_DIR" to a directory containing one of the above files. If
+ "robin_hood" provides a separate development package or SDK, be sure it has
+ been installed.
+
+--- CMakeLists.txt.orig 2022-03-16 04:06:06 UTC
++++ CMakeLists.txt
+@@ -105,6 +105,8 @@ if (ROBIN_HOOD_HASHING_INSTALL_DIR)
+ #backwards compatability settings for other parts of the build system that don't use find_package() variables yet
+ if (ROBIN_HOOD_HASHING_INSTALL_DIR)
+ list(APPEND CMAKE_PREFIX_PATH ${ROBIN_HOOD_HASHING_INSTALL_DIR})
++ add_library(robin_hood::robin_hood INTERFACE IMPORTED)
++ target_include_directories(robin_hood::robin_hood INTERFACE ${ROBIN_HOOD_HASHING_INSTALL_DIR}/src/include)
+ endif()
+ if (SPIRV_HEADERS_INSTALL_DIR)
+ list(APPEND CMAKE_PREFIX_PATH ${SPIRV_HEADERS_INSTALL_DIR})