diff --git a/CHANGES b/CHANGES index cbeb8bf35..cbf61d3f2 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,7 @@ Following is a brief summary of changes made in each release of Libint. - PR #305: disable latex2html detection/use by default - PR #304: natural order for (σ·p)V(σ·p) integrals (HT @JonathonMisiewicz) - PR #302: build fix (HT @JonathonMisiewicz) + - PR #231: Add SONAME/SOVERSION to generated library (HT @debichem) - 2023-12-12: 2.8.0 - PR #297: clang-format - PR #293: read Gaussian basis set files with L>=7 AOs correctly diff --git a/export/cmake/CMakeLists.txt.export b/export/cmake/CMakeLists.txt.export index 0bfa4e67c..1908ff32f 100644 --- a/export/cmake/CMakeLists.txt.export +++ b/export/cmake/CMakeLists.txt.export @@ -242,7 +242,7 @@ endif() # shared and static libraries built from the same object files if (LIBINT2_BUILD_SHARED_AND_STATIC_LIBS) add_library(libint2 SHARED $) - set_target_properties(libint2 PROPERTIES LIBRARY_OUTPUT_NAME int2) + set_target_properties(libint2 PROPERTIES LIBRARY_OUTPUT_NAME int2 VERSION ${LIBINT_VERSION} SOVERSION 2) if(MSVC) target_compile_definitions(libint2 PUBLIC _USE_MATH_DEFINES) target_compile_options(libint2 PUBLIC "/EHsc")