mirror of
https://github.com/transmission/transmission
synced 2025-01-02 21:16:04 +00:00
build: fix libtransmission build on very old cmake versions (#6418)
* Fix libtransmission build requirements * code review: keeping compatibility with deprecated cmake
This commit is contained in:
parent
61ed621f55
commit
376d806b2e
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ check_symbol_exists(SO_REUSEPORT "sys/types.h;sys/socket.h" HAVE_SO_REUSEPORT)
|
|||
|
||||
add_compile_options(
|
||||
# equivalent of XCODE_ATTRIBUTE_CLANG_ENABLE_OBJC_ARC YES for this directory
|
||||
$<$<AND:$<BOOL:${APPLE}>,$<CXX_COMPILER_ID:AppleClang,Clang>,$<COMPILE_LANGUAGE:C,CXX>>:-fobjc-arc>)
|
||||
$<$<AND:$<BOOL:${APPLE}>,$<OR:$<CXX_COMPILER_ID:AppleClang>,$<CXX_COMPILER_ID:Clang>>,$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>>:-fobjc-arc>)
|
||||
|
||||
add_library(${TR_NAME} STATIC)
|
||||
|
||||
|
|
Loading…
Reference in a new issue