Make FDBLibTLS and thirdparty static libraries.
They're statically linked anyway, and this fixes an issue with CMake complaining that there are cyclic dependencies that are non-static.
This commit is contained in:
parent
d41852abbc
commit
3b9678356e
|
@ -8,5 +8,5 @@ set(SRCS
|
||||||
FDBLibTLSVerify.cpp
|
FDBLibTLSVerify.cpp
|
||||||
FDBLibTLSVerify.h)
|
FDBLibTLSVerify.h)
|
||||||
|
|
||||||
add_library(FDBLibTLS ${SRCS})
|
add_library(FDBLibTLS STATIC ${SRCS})
|
||||||
target_link_libraries(FDBLibTLS PUBLIC LibreSSL boost_target PRIVATE flow)
|
target_link_libraries(FDBLibTLS PUBLIC LibreSSL boost_target PRIVATE flow)
|
||||||
|
|
|
@ -54,7 +54,7 @@ if(NOT WIN32)
|
||||||
list(APPEND FDBRPC_THIRD_PARTY_SRCS libcoroutine/context.c libeio/eio.c)
|
list(APPEND FDBRPC_THIRD_PARTY_SRCS libcoroutine/context.c libeio/eio.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(thirdparty ${FDBRPC_THIRD_PARTY_SRCS})
|
add_library(thirdparty STATIC ${FDBRPC_THIRD_PARTY_SRCS})
|
||||||
if(NOT WIN32)
|
if(NOT WIN32)
|
||||||
target_compile_options(thirdparty BEFORE PRIVATE -w) # disable warnings for third party
|
target_compile_options(thirdparty BEFORE PRIVATE -w) # disable warnings for third party
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue