summaryrefslogtreecommitdiff
path: root/devel/freeocl/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'devel/freeocl/files/patch-CMakeLists.txt')
-rw-r--r--devel/freeocl/files/patch-CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/freeocl/files/patch-CMakeLists.txt b/devel/freeocl/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..25e5a4c65237
--- /dev/null
+++ b/devel/freeocl/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2012-09-22 12:55:02.000000000 +0400
++++ CMakeLists.txt 2012-09-22 12:55:27.000000000 +0400
+@@ -83,7 +83,7 @@ endif(LIBRT)
+ add_subdirectory(samples)
+ add_subdirectory(src)
+
+-install(FILES icd/freeocl.icd DESTINATION /etc/OpenCL/vendors/)
++install(FILES icd/freeocl.icd DESTINATION %%PREFIX%%/etc/OpenCL/vendors/)
+ # OpenCL headers shouldn't be needed in the runtime package
+ # install(DIRECTORY include/CL/ DESTINATION include/CL/ FILES_MATCHING PATTERN "*.h")
+ install(DIRECTORY include/FreeOCL/ DESTINATION include/FreeOCL/ FILES_MATCHING PATTERN "*.h")