1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-18 17:10:05 +02:00

Scope libraries, required by the optional features

This commit is contained in:
Dmitry Vedenko 2021-06-18 20:26:58 +03:00 committed by Dmitry Vedenko
parent 1968e81c79
commit eb2df2c0f6

View File

@ -87,6 +87,7 @@ add_conan_lib(
REQUIRED REQUIRED
INTERFACE_NAME libmp3lame::libmp3lame INTERFACE_NAME libmp3lame::libmp3lame
PKG_CONFIG "lame >= 3.100" PKG_CONFIG "lame >= 3.100"
ALLOW_FIND_PACKAGE
) )
add_conan_lib( add_conan_lib(
@ -113,15 +114,15 @@ else()
set ( curl_ssl "openssl" ) set ( curl_ssl "openssl" )
endif () endif ()
add_conan_lib(
ThreadPool
threadpool/20140926
REQUIRED
ALWAYS_ALLOW_CONAN_FALLBACK
)
if( ${_OPT}has_networking ) if( ${_OPT}has_networking )
add_conan_lib(
ThreadPool
threadpool/20140926
REQUIRED
ALWAYS_ALLOW_CONAN_FALLBACK
)
add_conan_lib( add_conan_lib(
CURL CURL
libcurl/7.75.0 libcurl/7.75.0
@ -148,11 +149,13 @@ if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin|Windows")
) )
endif() endif()
add_conan_lib( if( ${_OPT}has_sentry_reporting )
RapidJSON add_conan_lib(
rapidjson/1.1.0 RapidJSON
REQUIRED rapidjson/1.1.0
) REQUIRED
)
endif()
set_conan_vars_to_parent() set_conan_vars_to_parent()