summaryrefslogtreecommitdiff
path: root/CBLAS
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2017-02-03 20:44:52 -0600
committerKyle Guinn <elyk03@gmail.com>2017-02-03 20:44:52 -0600
commite803f69a0995a12835b218bf11bf47af7eda4d5b (patch)
tree222173b262a5f0f9efb18da1989596af38fab043 /CBLAS
parentdecbedea650acbe947d33d642115988f361f0ccd (diff)
downloadlapack-e803f69a0995a12835b218bf11bf47af7eda4d5b.tar.gz
lapack-e803f69a0995a12835b218bf11bf47af7eda4d5b.tar.bz2
lapack-e803f69a0995a12835b218bf11bf47af7eda4d5b.zip
Version the CBLAS and LAPACKE libraries
Diffstat (limited to 'CBLAS')
-rw-r--r--CBLAS/src/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CBLAS/src/CMakeLists.txt b/CBLAS/src/CMakeLists.txt
index ec31ee53..e05d3cdb 100644
--- a/CBLAS/src/CMakeLists.txt
+++ b/CBLAS/src/CMakeLists.txt
@@ -114,5 +114,11 @@ endif()
list(REMOVE_DUPLICATES SOURCES)
add_library(cblas ${SOURCES})
+set_target_properties(
+ cblas PROPERTIES
+ LINKER_LANGUAGE C
+ VERSION ${LAPACK_VERSION}
+ SOVERSION ${LAPACK_MAJOR_VERSION}
+ )
target_link_libraries(cblas PRIVATE ${BLAS_LIBRARIES})
lapack_install_library(cblas)