diff --git a/export/cmake/CMakeLists.txt.export b/export/cmake/CMakeLists.txt.export index 8c2b78a43..3c8c4f5bf 100644 --- a/export/cmake/CMakeLists.txt.export +++ b/export/cmake/CMakeLists.txt.export @@ -272,7 +272,7 @@ if (LIBINT2_BUILD_SHARED_AND_STATIC_LIBS) else() add_library(libint2 $) if (BUILD_SHARED_LIBS) - set_target_properties(libint2 PROPERTIES LIBRARY_OUTPUT_NAME int2) + set_target_properties(libint2 PROPERTIES LIBRARY_OUTPUT_NAME int2 VERSION ${LIBINT_VERSION} SOVERSION 2) else(BUILD_SHARED_LIBS) set_target_properties(libint2 PROPERTIES ARCHIVE_OUTPUT_NAME int2) endif(BUILD_SHARED_LIBS)