diff options
author | julie <julielangou@users.noreply.github.com> | 2010-12-15 18:44:42 +0000 |
---|---|---|
committer | julie <julielangou@users.noreply.github.com> | 2010-12-15 18:44:42 +0000 |
commit | 0d5645bfec753a636739e6177515f1b9a5d3da3e (patch) | |
tree | fe5a9571985b07d752f7fa319be5c1062b9d7ba2 /BLAS | |
parent | 141210af9cf13bb12427d99fa4447459c3ad0ae6 (diff) | |
download | lapack-0d5645bfec753a636739e6177515f1b9a5d3da3e.tar.gz lapack-0d5645bfec753a636739e6177515f1b9a5d3da3e.tar.bz2 lapack-0d5645bfec753a636739e6177515f1b9a5d3da3e.zip |
Merge some of Sebastien Fabbro's patch for CMAKE
Diffstat (limited to 'BLAS')
-rw-r--r-- | BLAS/CMakeLists.txt | 9 | ||||
-rw-r--r-- | BLAS/blas.pc.in | 9 |
2 files changed, 17 insertions, 1 deletions
diff --git a/BLAS/CMakeLists.txt b/BLAS/CMakeLists.txt index 05b8ff97..45e68e99 100644 --- a/BLAS/CMakeLists.txt +++ b/BLAS/CMakeLists.txt @@ -1,2 +1,9 @@ add_subdirectory(SRC) -add_subdirectory(TESTING)
\ No newline at end of file +if(BUILD_TESTING) +add_subdirectory(TESTING) +endif(BUILD_TESTING) +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/blas.pc.in ${CMAKE_CURRENT_BINARY_DIR}/blas.pc) +install(FILES + ${CMAKE_CURRENT_BINARY_DIR}/blas.pc + DESTINATION ${PKG_CONFIG_DIR} + ) diff --git a/BLAS/blas.pc.in b/BLAS/blas.pc.in new file mode 100644 index 00000000..845a25c3 --- /dev/null +++ b/BLAS/blas.pc.in @@ -0,0 +1,9 @@ +prefix=@prefix@ +libdir=@libdir@ + +Name: blas +Description: Basic Linear Algebra Subprograms F77 reference implementations +Version: @LAPACK_VERSION@ +URL: http://www.netlib.org/blas/ +Libs: -L${libdir} -lblas +Libs.private: -lm |