drop unneeded patch

This commit is contained in:
Dave Airlie 2020-01-29 09:45:28 +10:00
parent 9d3972c233
commit ac658f1c1f
2 changed files with 0 additions and 14 deletions

View File

@ -1,12 +0,0 @@
diff -up SPIRV-Tools-3e4abc9ac382b6fc7a88316a700652404b6fb9f7/CMakeLists.txt.dma SPIRV-Tools-3e4abc9ac382b6fc7a88316a700652404b6fb9f7/CMakeLists.txt
--- SPIRV-Tools-3e4abc9ac382b6fc7a88316a700652404b6fb9f7/CMakeLists.txt.dma 2019-11-12 13:58:34.347573658 +1000
+++ SPIRV-Tools-3e4abc9ac382b6fc7a88316a700652404b6fb9f7/CMakeLists.txt 2019-11-12 13:58:47.166919110 +1000
@@ -215,7 +215,7 @@ if(ENABLE_SPIRV_TOOLS_INSTALL)
endmacro()
else()
macro(spvtools_config_package_dir TARGET PATH)
- set(${PATH} lib/cmake/${TARGET})
+ set(${PATH} ${CMAKE_INSTALL_LIBDIR}/cmake/${TARGET})
endmacro()
endif()

View File

@ -12,8 +12,6 @@ License: ASL 2.0
URL: https://github.com/KhronosGroup/SPIRV-Tools
Source0: %url/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz
Patch0: fix-cmake-install.patch
BuildRequires: cmake3
BuildRequires: gcc-c++
BuildRequires: ninja-build