blob: 6541c69bd48af14c66b4ca1dab960af3532f6da5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- a/amdocl/CMakeLists.txt 2020-08-23 10:11:28.227839351 +0200
+++ b/amdocl/CMakeLists.txt 2020-08-23 10:12:03.697839216 +0200
@@ -76,3 +76,7 @@
add_library(amdocl64 SHARED ${amdocl64_src})
target_link_libraries(amdocl64 amdrocclr_static Threads::Threads dl ${ADDITIONAL_LIBRARIES})
+
+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/")
+
|