--- 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/")
+
+
