Skip to content

Commit 9e33d33

Browse files
committed
tmglib: Add proper versioning to shared lib
1 parent aee39ba commit 9e33d33

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

TESTING/MATGEN/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,13 @@ 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+
OUTPUT_NAME tmglib${LIBRARY_NAME_SUFFIX}
57+
)
58+
5159
target_link_libraries(tmglib ${LAPACK_LIBRARIES} ${BLAS_LIBRARIES})
5260
lapack_install_library(tmglib)

0 commit comments

Comments
 (0)