diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f5f4065bae..9c8ab6bf3b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -422,6 +422,11 @@ endif () # Create the HYPRE library object add_library(${PROJECT_NAME}) +set_target_properties(${PROJECT_NAME} PROPERTIES + VERSION "${HYPRE_VERSION}" + SOVERSION "${HYPRE_VERSION_MAJOR}.${HYPRE_VERSION_MINOR}" + ) + # Headers and sources set(HYPRE_HEADERS "")