summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/spirv-headers.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/spirv-headers.spec b/packaging/spirv-headers.spec
index ff84f6c..020af85 100644
--- a/packaging/spirv-headers.spec
+++ b/packaging/spirv-headers.spec
@@ -43,7 +43,8 @@ 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
+#cp -rf build/CMakeFiles/Export/share/cmake/SPIRV-Headers/* %{buildroot}%{_datadir}/cmake/SPIRV-Headers
+find build/CMakeFiles/Export/ -name 'SPIRV-HeadersTargets.cmake' -exec cp {} %{buildroot}%{_datadir}/cmake/SPIRV-Headers \;
# devel pkg
cp -rf include/* %{buildroot}%{_includedir}/