]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/spirv-tools/cmake-install.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / spirv-tools / cmake-install.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 6ed56a8..66d1e66 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -210,15 +210,9 @@ else()
6 endif()
7
8 if(ENABLE_SPIRV_TOOLS_INSTALL)
9 - if(WIN32)
10 - macro(spvtools_config_package_dir TARGET PATH)
11 - set(${PATH} ${TARGET}/cmake)
12 - endmacro()
13 - else()
14 - macro(spvtools_config_package_dir TARGET PATH)
15 - set(${PATH} ${CMAKE_INSTALL_LIBDIR}/cmake/${TARGET})
16 - endmacro()
17 - endif()
18 + macro(spvtools_config_package_dir TARGET PATH)
19 + set(${PATH} ${CMAKE_INSTALL_DATADIR}/${TARGET})
20 + endmacro()
21
22 macro(spvtools_generate_config_file TARGET)
23 file(WRITE ${CMAKE_BINARY_DIR}/${TARGET}Config.cmake