You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mingw-spirv-tools/SOURCES/spirv-tool_cmake-install.patch

13 lines
579 B

diff -rupN --no-dereference SPIRV-Tools-sdk-1.3.231.1/CMakeLists.txt SPIRV-Tools-sdk-1.3.231.1-new/CMakeLists.txt
--- SPIRV-Tools-sdk-1.3.231.1/CMakeLists.txt 2022-10-12 18:15:28.000000000 +0200
+++ SPIRV-Tools-sdk-1.3.231.1-new/CMakeLists.txt 2022-11-12 23:22:28.528242413 +0100
@@ -271,7 +271,7 @@ endif()
if(ENABLE_SPIRV_TOOLS_INSTALL)
if(WIN32)
macro(spvtools_config_package_dir TARGET PATH)
- set(${PATH} ${TARGET}/cmake)
+ set(${PATH} ${CMAKE_INSTALL_LIBDIR}/cmake/${TARGET})
endmacro()
else()
macro(spvtools_config_package_dir TARGET PATH)