diff options
author | Xuelian Bai <xuelian.bai@samsung.com> | 2023-02-28 12:52:43 +0800 |
---|---|---|
committer | Xuelian Bai <xuelian.bai@samsung.com> | 2023-02-28 12:54:19 +0800 |
commit | a5de8c8a36c4cd329d79b02437de030e7fc5c0f0 (patch) | |
tree | 9b5e2049461b317361ceff9fb697d2247de7b86f | |
parent | c3cbc004b9b6edccedd81f400330e9d7b72c8a9e (diff) | |
download | SPIRV-Headers-a5de8c8a36c4cd329d79b02437de030e7fc5c0f0.tar.gz SPIRV-Headers-a5de8c8a36c4cd329d79b02437de030e7fc5c0f0.tar.bz2 SPIRV-Headers-a5de8c8a36c4cd329d79b02437de030e7fc5c0f0.zip |
Fix build error caused by cmake upgradetizen_8.0_m2_releaseaccepted/tizen/unified/riscv/20230919.031453accepted/tizen/unified/20230307.054632accepted/tizen/unified/20230302.065125accepted/tizen/8.0/unified/20231005.094605tizen_8.0accepted/tizen_unified_riscvaccepted/tizen_8.0_unified
Find the target cmake file by command and then cp the file, removing
this file will cause build error in Vulkan-Validation layer.
Change-Id: I604bb713740326a47de5e5aa8de1dd93ca7358e1
Signed-off-by: Xuelian Bai <xuelian.bai@samsung.com>
-rw-r--r-- | packaging/spirv-headers.spec | 3 |
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}/ |