tag libnotcurses.so with soversion

This commit is contained in:
nick black 2021-01-21 03:18:40 -05:00
parent 57271d09ce
commit b4709bbb4e
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -133,16 +133,13 @@ add_library(notcurses-core-static STATIC ${NCCORESRCS})
else()
add_library(notcurses-core-static STATIC EXCLUDE_FROM_ALL ${NCCORESRCS})
endif()
set_target_properties(
notcurses-core-static PROPERTIES
OUTPUT_NAME notcurses-core
)
set_target_properties(notcurses-core PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR}
)
set_target_properties(notcurses-core-static PROPERTIES
VERSION ${PROJECT_VERSION}
OUTPUT_NAME notcurses-core
)
target_include_directories(notcurses-core
PRIVATE
@ -217,8 +214,12 @@ add_library(notcurses-static STATIC ${NCSRCS})
else()
add_library(notcurses-static STATIC EXCLUDE_FROM_ALL ${NCSRCS})
endif()
set_target_properties(
notcurses-static PROPERTIES
set_target_properties(notcurses PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR}
)
set_target_properties(notcurses-static PROPERTIES
VERSION ${PROJECT_VERSION}
OUTPUT_NAME notcurses
)
target_include_directories(notcurses