Skip to content

Commit

Permalink
Add SONAME/SOVERSION to generated library (evaleev#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbanck-ntap committed Jan 9, 2022
1 parent e022cc0 commit 889fd74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export/cmake/CMakeLists.txt.export
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ endif()
# shared and static libraries built from the same object files
if (LIBINT2_BUILD_SHARED_AND_STATIC_LIBS)
add_library(libint2 SHARED $<TARGET_OBJECTS:libint2_obj>)
set_target_properties(libint2 PROPERTIES LIBRARY_OUTPUT_NAME int2)
set_target_properties(libint2 PROPERTIES LIBRARY_OUTPUT_NAME int2 VERSION 2.0.4 SOVERSION 2)
add_library(libint2-static STATIC $<TARGET_OBJECTS:libint2_obj>)
set_target_properties(libint2-static PROPERTIES ARCHIVE_OUTPUT_NAME int2)
target_include_directories(libint2-static INTERFACE
Expand Down

0 comments on commit 889fd74

Please sign in to comment.