aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-libs/arrayfire/files/CMakeLists_examples.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-libs/arrayfire/files/CMakeLists_examples.patch b/sci-libs/arrayfire/files/CMakeLists_examples.patch
new file mode 100644
index 000000000..45139f864
--- /dev/null
+++ b/sci-libs/arrayfire/files/CMakeLists_examples.patch
@@ -0,0 +1,11 @@
+--- b/examples/CMakeLists.txt 2015-01-10 12:39:23.000000000 +0100
++++ a/examples/CMakeLists.txt 2015-01-10 12:40:10.000000000 +0100
+@@ -13,7 +13,7 @@ MACRO(CREATE_EXAMPLES BACKEND)
+ TARGET_LINK_LIBRARIES(${EXAMPLE_NAME} af${BACKEND} ${THREAD_LIB_FLAG})
+ SET_TARGET_PROPERTIES(${EXAMPLE_NAME} PROPERTIES COMPILE_FLAGS -DAF_${DEF_NAME} OUTPUT_NAME ${FNAME}_${BACKEND})
+
+-# INSTALL(TARGETS ${EXAMPLE_NAME} DESTINATION arrayfire/examples)
++ INSTALL(TARGETS ${EXAMPLE_NAME} DESTINATION share/arrayfire/examples)
+ ENDFOREACH()
+ ENDMACRO(CREATE_EXAMPLES)
+