summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/darktable/files/darktable-1.1-opencl-kernels.patch')
-rw-r--r--media-gfx/darktable/files/darktable-1.1-opencl-kernels.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-gfx/darktable/files/darktable-1.1-opencl-kernels.patch b/media-gfx/darktable/files/darktable-1.1-opencl-kernels.patch
new file mode 100644
index 000000000000..9e3454416d8d
--- /dev/null
+++ b/media-gfx/darktable/files/darktable-1.1-opencl-kernels.patch
@@ -0,0 +1,13 @@
+--- darktable-1.1/data/CMakeLists.txt
++++ darktable-1.1/data/CMakeLists.txt
+@@ -2,7 +2,9 @@
+
+ add_subdirectory(pixmaps)
+
+-add_subdirectory(kernels)
++if(USE_OPENCL)
++ add_subdirectory(kernels)
++endif(USE_OPENCL)
+
+ #
+ # Generate and instal gtkrc