vcpkg/ports/spirv-tools/install-config-typo.patch
Henrik Gaßmann 0a64f3a1f6
[spirv-tools] Update to version 2020.1 (#10441)
* [spirv-headers] Update to version 1.5.1

* [spirv-tools] Update to version 2020.1

* [spirv-tools] Work around an import config typo

* [spirv-tools] Fix nitpicks

* [spirv-headers] Modernize port

* [spirv-tools] Fix directory name capitalization mismatch
2020-03-20 00:32:07 -07:00

18 lines
863 B
Diff

diff --git a/source/reduce/CMakeLists.txt b/source/reduce/CMakeLists.txt
index 51e9b1d..90b1cb7 100644
--- a/source/reduce/CMakeLists.txt
+++ b/source/reduce/CMakeLists.txt
@@ -96,10 +96,10 @@ if(ENABLE_SPIRV_TOOLS_INSTALL)
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
- export(EXPORT SPIRV-Tools-reduceTargets FILE SPIRV-Tools-reduceTarget.cmake)
+ export(EXPORT SPIRV-Tools-reduceTargets FILE SPIRV-Tools-reduceTargets.cmake)
spvtools_config_package_dir(SPIRV-Tools-reduce PACKAGE_DIR)
- install(EXPORT SPIRV-Tools-reduceTargets FILE SPIRV-Tools-reduceTarget.cmake
+ install(EXPORT SPIRV-Tools-reduceTargets FILE SPIRV-Tools-reduceTargets.cmake
DESTINATION ${PACKAGE_DIR})
spvtools_generate_config_file(SPIRV-Tools-reduce)