Skip to content

Commit

Permalink
Merge pull request #1763 from inducer/khronos-opencl-icd-loader
Browse files Browse the repository at this point in the history
Package Khronos OpenCL ICD loader for Windows
  • Loading branch information
jakirkham authored Nov 3, 2016
2 parents d4e0bcf + e14244c commit 1d28c97
Show file tree
Hide file tree
Showing 4 changed files with 4,117 additions and 0 deletions.
16 changes: 16 additions & 0 deletions recipes/khronos-opencl-icd-loader/add-cmake-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1e08865..5cf2116 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,3 +29,11 @@ target_link_libraries (OpenCL ${CMAKE_DL_LIBS})

enable_testing()
add_subdirectory (test)
+
+install(TARGETS OpenCL
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib)
+
+install(DIRECTORY inc/CL DESTINATION include
+ FILES_MATCHING PATTERN "*.h")
Loading

0 comments on commit 1d28c97

Please sign in to comment.