blob: 98928683503dc7aad8ea7b120150468c8c8b49f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
From 419626d4fc27c026c10cde6029a73d717843ac78 Mon Sep 17 00:00:00 2001
From: Nick Sarnie <sarnex@gentoo.org>
Date: Fri, 2 Dec 2022 23:32:11 -0500
Subject: [PATCH] cmake: Install cmake files to CMAKE_INSTALL_DATADIR
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
---
cmake/install.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/install.cmake b/cmake/install.cmake
index c19b5e7..047df01 100644
--- a/cmake/install.cmake
+++ b/cmake/install.cmake
@@ -26,7 +26,7 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/registry" DESTINATION ${VLK_REGIS
set(export_name "VulkanHeadersConfig")
set(namespace "Vulkan::")
-set(cmake_files_install_dir ${CMAKE_INSTALL_LIBDIR}/cmake/VulkanHeaders/)
+set(cmake_files_install_dir ${CMAKE_INSTALL_DATADIR}/cmake/VulkanHeaders/)
# Set EXPORT_NAME for consistency with established names. The CMake generated ones won't work.
set_target_properties(Vulkan-Headers PROPERTIES EXPORT_NAME "Headers")
|