summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXuelian Bai <xuelian.bai@samsung.com>2023-02-08 13:49:55 +0800
committerXuelian Bai <xuelian.bai@samsung.com>2023-02-24 08:23:42 +0800
commitc3cbc004b9b6edccedd81f400330e9d7b72c8a9e (patch)
treefcd402a259c25a1ba927960bbc93c3af70869e9d
parent559014718f6894475e38f2f4fa4f465b534563fa (diff)
downloadSPIRV-Headers-c3cbc004b9b6edccedd81f400330e9d7b72c8a9e.tar.gz
SPIRV-Headers-c3cbc004b9b6edccedd81f400330e9d7b72c8a9e.tar.bz2
SPIRV-Headers-c3cbc004b9b6edccedd81f400330e9d7b72c8a9e.zip
Add *.cmake files to build Vulkan-Validationlayers Change-Id: I6629fd471f71a1cc855920cd94dedaa4a8aa4c29 Signed-off-by: Xuelian Bai <xuelian.bai@samsung.com>
-rw-r--r--packaging/spirv-headers.spec8
1 files changed, 5 insertions, 3 deletions
diff --git a/packaging/spirv-headers.spec b/packaging/spirv-headers.spec
index 78f84ab..ff84f6c 100644
--- a/packaging/spirv-headers.spec
+++ b/packaging/spirv-headers.spec
@@ -1,5 +1,5 @@
Name: spirv-headers
-Version: 1.5.4
+Version: 1.5.5
Release: 0
Summary: Khronos SPIRV Headers
Group: Graphics & UI Framework/GL
@@ -40,8 +40,10 @@ cd ..
rm -rf %{buildroot}
# release pkg
mkdir -p %{buildroot}%{_includedir}/
+mkdir -p %{buildroot}%{_datadir}/cmake/SPIRV-Headers/
cp -Rf include/spirv %{buildroot}%{_includedir}/
-
+cp -rf build/generated/* %{buildroot}%{_datadir}/cmake/SPIRV-Headers
+cp -rf build/CMakeFiles/Export/share/cmake/SPIRV-Headers/* %{buildroot}%{_datadir}/cmake/SPIRV-Headers
# devel pkg
cp -rf include/* %{buildroot}%{_includedir}/
@@ -54,5 +56,5 @@ cp -rf include/* %{buildroot}%{_includedir}/
%files devel
%defattr(-,root,root,-)
%{_includedir}/spirv/*
-
+%{_datadir}/cmake/*