summaryrefslogtreecommitdiff
path: root/spirv-tools/fix-cmake-install.patch
diff options
context:
space:
mode:
Diffstat (limited to 'spirv-tools/fix-cmake-install.patch')
-rw-r--r--spirv-tools/fix-cmake-install.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/spirv-tools/fix-cmake-install.patch b/spirv-tools/fix-cmake-install.patch
new file mode 100644
index 000000000..abc912e0e
--- /dev/null
+++ b/spirv-tools/fix-cmake-install.patch
@@ -0,0 +1,12 @@
+diff -up SPIRV-Tools-3e4abc9ac382b6fc7a88316a700652404b6fb9f7/CMakeLists.txt.dma SPIRV-Tools-3e4abc9ac382b6fc7a88316a700652404b6fb9f7/CMakeLists.txt
+--- SPIRV-Tools-3e4abc9ac382b6fc7a88316a700652404b6fb9f7/CMakeLists.txt.dma 2019-11-12 13:58:34.347573658 +1000
++++ SPIRV-Tools-3e4abc9ac382b6fc7a88316a700652404b6fb9f7/CMakeLists.txt 2019-11-12 13:58:47.166919110 +1000
+@@ -215,7 +215,7 @@ if(ENABLE_SPIRV_TOOLS_INSTALL)
+ endmacro()
+ else()
+ macro(spvtools_config_package_dir TARGET PATH)
+- set(${PATH} lib/cmake/${TARGET})
++ set(${PATH} ${CMAKE_INSTALL_LIBDIR}/cmake/${TARGET})
+ endmacro()
+ endif()
+

Generated by cgit