commit: 5c113d13d74318d8c9718deff1e831b8143da0ca Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> AuthorDate: Sat Jan 10 11:48:06 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Sat Jan 10 11:48:06 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5c113d13
Add patch to install examples --- sci-libs/arrayfire/files/CMakeLists_examples.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sci-libs/arrayfire/files/CMakeLists_examples.patch b/sci-libs/arrayfire/files/CMakeLists_examples.patch new file mode 100644 index 0000000..45139f8 --- /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) +