Skip to content

Commit

Permalink
Fix SOVERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed Oct 4, 2022
1 parent 6b690a6 commit 18271b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Expand Up @@ -304,7 +304,7 @@ endif()
set_target_properties(Catch2 PROPERTIES
DEBUG_POSTFIX "d"
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR})
SOVERSION ${PROJECT_VERSION})

# depend on bunch of C++11 and C++14 features to have C++14 enabled by default
target_compile_features(Catch2
Expand Down Expand Up @@ -354,7 +354,7 @@ set_target_properties(Catch2WithMain
PROPERTIES
OUTPUT_NAME "Catch2Main"
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR}
SOVERSION ${PROJECT_VERSION}
)
set_target_properties(Catch2WithMain PROPERTIES DEBUG_POSTFIX "d")

Expand Down

0 comments on commit 18271b0

Please sign in to comment.