[clblas] 02/61: Fix install location of samples
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri Jul 24 22:49:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository clblas.
commit 1972170395988b46444c14bed2a47928b0714dc7
Author: Marius Brehler <marius.brehler at tu-dortmund.de>
Date: Mon Mar 23 15:58:17 2015 +0100
Fix install location of samples
---
src/samples/CMakeLists.txt | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/samples/CMakeLists.txt b/src/samples/CMakeLists.txt
index c354ba8..73d4882 100644
--- a/src/samples/CMakeLists.txt
+++ b/src/samples/CMakeLists.txt
@@ -274,7 +274,11 @@ install( TARGETS example_sgemm example_sgemv example_ssymv example_ssyrk
example_snrm2 example_sasum example_isamax
version
- RUNTIME DESTINATION bin${SUFFIX_BIN}
+ if( WIN32 )
+ RUNTIME DESTINATION bin${SUFFIX_BIN}
+ else ( )
+ RUNTIME DESTINATION share/clBLAS/samples
+ endif( )
LIBRARY DESTINATION lib${SUFFIX_LIB}
ARCHIVE DESTINATION lib${SUFFIX_LIB}/import
)
@@ -332,5 +336,9 @@ install(FILES
clBlasVersion.c
${PROJECT_BINARY_DIR}/samples/CMakeLists.txt
- DESTINATION
- samples )
+ if( WIN32 )
+ DESTINATION samples
+ else ( )
+ DESTINATION share/clBLAS/samples/src
+ endif()
+ )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git
More information about the debian-science-commits
mailing list