]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/clblas/cmake.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / clblas / cmake.patch
CommitLineData
1e59de90
TL
1diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt\r
2index 6a88c41..05b8029 100644\r
3--- a/src/CMakeLists.txt\r
4+++ b/src/CMakeLists.txt\r
5@@ -276,6 +276,9 @@ endif()\r
6 \r
7 # This will define OPENCL_FOUND\r
8 find_package( OpenCL ${OPENCL_VERSION} )\r
9+set( OPENCL_FOUND ${OpenCL_FOUND})\r
10+set( OPENCL_LIBRARIES ${OpenCL_LIBRARIES} )\r
11+set( OPENCL_INCLUDE_DIRS ${OpenCL_INCLUDE_DIRS} )\r
12 \r
13 # Find Boost on the system, and configure the type of boost build we want\r
14 set( Boost_USE_MULTITHREADED ON )\r
15diff --git a/src/clBLASConfig.cmake.in b/src/clBLASConfig.cmake.in\r
16index f52d1d6..464feca 100644\r
17--- a/src/clBLASConfig.cmake.in\r
18+++ b/src/clBLASConfig.cmake.in\r
19@@ -1,3 +1,3 @@\r
20 include(${CMAKE_CURRENT_LIST_DIR}/clBLASTargets.cmake)\r
21-get_filename_component(CLBLAS_INCLUDE_DIRS ${CMAKE_CURRENT_LIST_DIR}/@reldir@/include ABSOLUTE)\r
22+get_filename_component(CLBLAS_INCLUDE_DIRS ${CMAKE_CURRENT_LIST_DIR}/@reldir@/../include ABSOLUTE)\r
23 set(CLBLAS_LIBRARIES clBLAS)\r
24diff --git a/src/library/CMakeLists.txt b/src/library/CMakeLists.txt\r
25index 5164898..f2d5a88 100644\r
26--- a/src/library/CMakeLists.txt\r
27+++ b/src/library/CMakeLists.txt\r
28@@ -894,7 +894,7 @@ install( TARGETS clBLAS\r
29 EXPORT Library\r
30 RUNTIME DESTINATION bin${SUFFIX_BIN}\r
31 LIBRARY DESTINATION lib${SUFFIX_LIB}\r
32- ARCHIVE DESTINATION lib${SUFFIX_LIB}/import\r
33+ ARCHIVE DESTINATION lib${SUFFIX_LIB}\r
34 )\r
35 \r
36 # For debug builds, include the debug runtimes into the package for testing on non-developer machines\r