diff options
Diffstat (limited to 'meta/recipes-graphics/vulkan/vulkan-samples/0001-CMakeLists.txt-do-not-hardcode-lib-as-installation-t.patch')
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-samples/0001-CMakeLists.txt-do-not-hardcode-lib-as-installation-t.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan-samples/0001-CMakeLists.txt-do-not-hardcode-lib-as-installation-t.patch b/meta/recipes-graphics/vulkan/vulkan-samples/0001-CMakeLists.txt-do-not-hardcode-lib-as-installation-t.patch deleted file mode 100644 index 90fe277a41..0000000000 --- a/meta/recipes-graphics/vulkan/vulkan-samples/0001-CMakeLists.txt-do-not-hardcode-lib-as-installation-t.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From 5fb216d35b6846074196e80421f3162df3b9c8cd Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Sun, 1 Nov 2020 23:19:22 +0000 | ||
4 | Subject: [PATCH] CMakeLists.txt: do not hardcode 'lib' as installation target | ||
5 | |||
6 | Upstream-Status: Inappropriate [already fixed in newer versions] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | CMakeLists.txt | 4 ++-- | ||
10 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
11 | |||
12 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
13 | index e00f8c77..f9896eed 100644 | ||
14 | --- a/third_party/spirv-cross/CMakeLists.txt | ||
15 | +++ b/third_party/spirv-cross/CMakeLists.txt | ||
16 | @@ -67,8 +67,8 @@ macro(spirv_cross_add_library name config_name) | ||
17 | install(TARGETS ${name} | ||
18 | EXPORT ${config_name}Config | ||
19 | RUNTIME DESTINATION bin | ||
20 | - LIBRARY DESTINATION lib | ||
21 | - ARCHIVE DESTINATION lib | ||
22 | + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
23 | + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
24 | PUBLIC_HEADER DESTINATION include/spirv_cross) | ||
25 | install(FILES ${hdrs} DESTINATION include/spirv_cross) | ||
26 | install(EXPORT ${config_name}Config DESTINATION share/${config_name}/cmake) | ||
27 | -- | ||
28 | 2.17.1 | ||
29 | |||