TLS target properties when building static libs
This commit is contained in:
parent
3e645e1ba2
commit
b10a3363df
@ -37,7 +37,6 @@ target_include_directories(tls
|
|||||||
PUBLIC
|
PUBLIC
|
||||||
../include)
|
../include)
|
||||||
|
|
||||||
if (BUILD_SHARED_LIBS)
|
|
||||||
export_symbol(tls ${CMAKE_CURRENT_SOURCE_DIR}/tls.sym)
|
export_symbol(tls ${CMAKE_CURRENT_SOURCE_DIR}/tls.sym)
|
||||||
target_link_libraries(tls ssl crypto ${PLATFORM_LIBS})
|
target_link_libraries(tls ssl crypto ${PLATFORM_LIBS})
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
@ -48,7 +47,6 @@ if (BUILD_SHARED_LIBS)
|
|||||||
ARCHIVE_OUTPUT_NAME tls${TLS_POSTFIX})
|
ARCHIVE_OUTPUT_NAME tls${TLS_POSTFIX})
|
||||||
set_target_properties(tls PROPERTIES VERSION ${TLS_VERSION}
|
set_target_properties(tls PROPERTIES VERSION ${TLS_VERSION}
|
||||||
SOVERSION ${TLS_MAJOR_VERSION})
|
SOVERSION ${TLS_MAJOR_VERSION})
|
||||||
endif()
|
|
||||||
|
|
||||||
if(ENABLE_LIBRESSL_INSTALL)
|
if(ENABLE_LIBRESSL_INSTALL)
|
||||||
install(
|
install(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user