- some linker flags for Linux only
This commit is contained in:
parent
706339ec97
commit
fd878f0d0e
|
|
@ -347,10 +347,14 @@ endif()
|
||||||
|
|
||||||
target_compile_definitions(rtphone PUBLIC ${DEFINES})
|
target_compile_definitions(rtphone PUBLIC ${DEFINES})
|
||||||
|
|
||||||
target_link_options(rtphone PUBLIC -Wl,-Bstatic)
|
if (TARGET_LINUX)
|
||||||
|
target_link_options(rtphone PUBLIC -Wl,-Bstatic)
|
||||||
|
endif()
|
||||||
target_link_libraries(rtphone PUBLIC ${LIBS_STATIC} ${OPENSSL_SSL} ${OPENSSL_CRYPTO})
|
target_link_libraries(rtphone PUBLIC ${LIBS_STATIC} ${OPENSSL_SSL} ${OPENSSL_CRYPTO})
|
||||||
target_link_options(rtphone PUBLIC -Wl,-Bdynamic)
|
|
||||||
|
|
||||||
|
if (TARGET_LINUX)
|
||||||
|
target_link_options(rtphone PUBLIC -Wl,-Bdynamic)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_include_directories(rtphone
|
target_include_directories(rtphone
|
||||||
PUBLIC
|
PUBLIC
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue