summaryrefslogtreecommitdiff
path: root/dev-libs/rocm-opencl-runtime/files/rocm-opencl-runtime-3.5.0-amdocl64icd.patch
blob: dadf212d3d4c350592286ff9da8dc2473794f6f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/amdocl/CMakeLists.txt	2020-06-07 14:38:38.827042792 +0200
+++ b/amdocl/CMakeLists.txt	2020-06-07 14:38:27.505042835 +0200
@@ -109,3 +109,8 @@
 find_package(Threads REQUIRED)
 
 target_link_libraries(amdocl64 amdrocclr_static Threads::Threads dl)
+
+file(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/amdocl64.icd" CONTENT "$<TARGET_FILE_NAME:amdocl64>")
+install(FILES "${CMAKE_BINARY_DIR}/amdocl64.icd" DESTINATION "${CMAKE_INSTALL_FULL_SYSCONFDIR}/OpenCL/vendors/")
+
+