df3c218808
Build cblas and lapacke.
28 lines
744 B
Diff
28 lines
744 B
Diff
diff --git CBLAS/CMakeLists.txt CBLAS/CMakeLists.txt
|
|
index 98b481f..1c9428e 100644
|
|
--- CBLAS/CMakeLists.txt
|
|
+++ CBLAS/CMakeLists.txt
|
|
@@ -87,4 +87,8 @@ install(FILES
|
|
|
|
#install(EXPORT cblas-targets
|
|
# DESTINATION lib/cmake/cblas-${LAPACK_VERSION})
|
|
-
|
|
+set_target_properties(
|
|
+ cblas PROPERTIES
|
|
+ VERSION ${LAPACK_VERSION}
|
|
+ SOVERSION ${LAPACK_MAJOR_VERSION}
|
|
+ )
|
|
diff --git LAPACKE/CMakeLists.txt LAPACKE/CMakeLists.txt
|
|
index 008f24c..e2cd9e0 100644
|
|
--- LAPACKE/CMakeLists.txt
|
|
+++ LAPACKE/CMakeLists.txt
|
|
@@ -86,3 +86,9 @@ install(FILES
|
|
|
|
install(EXPORT lapacke-targets
|
|
DESTINATION lib/cmake/lapacke-${LAPACK_VERSION})
|
|
+
|
|
+set_target_properties(
|
|
+ lapacke PROPERTIES
|
|
+ VERSION ${LAPACK_VERSION}
|
|
+ SOVERSION ${LAPACK_MAJOR_VERSION}
|
|
+ )
|