Skip to content

Commit d25bdbf

Browse files
Merge pull request Reference-LAPACK#495 from christoph-conrads/add-tmglib-versioning
Add versioning to matrix generator library
2 parents 623cf94 + 29abd88 commit d25bdbf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

TESTING/MATGEN/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,12 @@ endif()
4848
list(REMOVE_DUPLICATES SOURCES)
4949

5050
add_library(${TMGLIB} ${SOURCES})
51+
52+
set_target_properties(
53+
${TMGLIB} PROPERTIES
54+
VERSION ${LAPACK_VERSION}
55+
SOVERSION ${LAPACK_MAJOR_VERSION}
56+
)
57+
5158
target_link_libraries(${TMGLIB} ${LAPACK_LIBRARIES} ${BLAS_LIBRARIES})
5259
lapack_install_library(${TMGLIB})

0 commit comments

Comments
 (0)