aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2015-01-10 12:48:06 +0100
committerMarius Brehler <marbre@linux.sungazer.de>2015-01-10 12:48:06 +0100
commit5c113d13d74318d8c9718deff1e831b8143da0ca (patch)
tree6b31d8cbd2fc11dae0ced4d96a85ae7cfc615e61
parentNew package arrayfire (diff)
downloadsci-5c113d13d74318d8c9718deff1e831b8143da0ca.tar.gz
sci-5c113d13d74318d8c9718deff1e831b8143da0ca.tar.bz2
sci-5c113d13d74318d8c9718deff1e831b8143da0ca.zip
Add patch to install examples
-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)
+