Skip to content

Commit df52093

Browse files
Add versioning to matrix generator library
1 parent edc6bc5 commit df52093

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)