mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-18 09:00:07 +02:00
Scope libraries, required by the optional features
This commit is contained in:
parent
1968e81c79
commit
eb2df2c0f6
@ -87,6 +87,7 @@ add_conan_lib(
|
||||
REQUIRED
|
||||
INTERFACE_NAME libmp3lame::libmp3lame
|
||||
PKG_CONFIG "lame >= 3.100"
|
||||
ALLOW_FIND_PACKAGE
|
||||
)
|
||||
|
||||
add_conan_lib(
|
||||
@ -113,6 +114,8 @@ else()
|
||||
set ( curl_ssl "openssl" )
|
||||
endif ()
|
||||
|
||||
if( ${_OPT}has_networking )
|
||||
|
||||
add_conan_lib(
|
||||
ThreadPool
|
||||
threadpool/20140926
|
||||
@ -120,8 +123,6 @@ add_conan_lib(
|
||||
ALWAYS_ALLOW_CONAN_FALLBACK
|
||||
)
|
||||
|
||||
if( ${_OPT}has_networking )
|
||||
|
||||
add_conan_lib(
|
||||
CURL
|
||||
libcurl/7.75.0
|
||||
@ -148,11 +149,13 @@ if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin|Windows")
|
||||
)
|
||||
endif()
|
||||
|
||||
if( ${_OPT}has_sentry_reporting )
|
||||
add_conan_lib(
|
||||
RapidJSON
|
||||
rapidjson/1.1.0
|
||||
REQUIRED
|
||||
)
|
||||
endif()
|
||||
|
||||
set_conan_vars_to_parent()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user