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")