mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 22:31:23 +01:00
Change Foundation library version back to SHARED_LIBRARY_VERSION
Foundation is the only library using PROJECT_VERSION as library version, the change accidentally introduced by commit b69fafb84c. This causes difference in library being linked to (libPocoFoundation.31.dylib on Mac) and library returned by $<TARGET_FILE:Poco::Foundation> for imported target (libPocoFoundation.1.6.1.dylib), causing inconvenience. Also, this differs from autoconf-based builds where only "31" (soversion) library is being created and not "1.6.1" (project version) one.
This commit is contained in:
parent
ee9794f087
commit
cec5a43151
@ -156,7 +156,7 @@ add_library( "${LIBNAME}" ${LIB_MODE} ${SRCS})
|
||||
add_library( "${POCO_LIBNAME}" ALIAS "${LIBNAME}")
|
||||
set_target_properties( "${LIBNAME}"
|
||||
PROPERTIES
|
||||
VERSION ${PROJECT_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION}
|
||||
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION}
|
||||
OUTPUT_NAME ${POCO_LIBNAME}
|
||||
DEFINE_SYMBOL Foundation_EXPORTS
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user