mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
Always build bundled libb64 and libutp libraries as static (#4810)
This commit is contained in:
@@ -140,6 +140,11 @@ macro(tr_add_external_auto_library ID DIRNAME LIBNAME)
|
||||
if(USE_SYSTEM_${ID})
|
||||
unset(${ID}_UPSTREAM_TARGET)
|
||||
elseif(_TAEAL_ARG_SUBPROJECT)
|
||||
foreach(ARG IN LISTS _TAEAL_ARG_CMAKE_ARGS)
|
||||
if(ARG MATCHES "^-D([^=: ]+)(:[^= ]+)?=(.*)$")
|
||||
set(${CMAKE_MATCH_1} ${CMAKE_MATCH_3} CACHE INTERNAL "")
|
||||
endif()
|
||||
endforeach()
|
||||
add_subdirectory("${CMAKE_SOURCE_DIR}/third-party/${DIRNAME}" "${CMAKE_BINARY_DIR}/third-party/${DIRNAME}")
|
||||
else()
|
||||
set(${ID}_UPSTREAM_TARGET ${LIBNAME})
|
||||
|
||||
Reference in New Issue
Block a user