mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-27 15:50:10 +01:00
Make lib-network-manager an opt-in library
This commit is contained in:
committed by
Dmitry Vedenko
parent
fdd20452ea
commit
4dc4e86863
@@ -104,18 +104,22 @@ add_conan_lib(
|
||||
ALWAYS_ALLOW_CONAN_FALLBACK
|
||||
)
|
||||
|
||||
add_conan_lib(
|
||||
CURL
|
||||
libcurl/7.75.0
|
||||
REQUIRED
|
||||
OPTION_NAME curl
|
||||
PKG_CONFIG "libcurl >= 7.68.0"
|
||||
INTERFACE_NAME CURL::libcurl
|
||||
FIND_PACKAGE_OPTIONS
|
||||
CONAN_OPTIONS
|
||||
libcurl:with_ssl=${curl_ssl}
|
||||
libcurl:shared=True
|
||||
)
|
||||
if( ${_OPT}has_networking )
|
||||
|
||||
add_conan_lib(
|
||||
CURL
|
||||
libcurl/7.75.0
|
||||
REQUIRED
|
||||
OPTION_NAME curl
|
||||
PKG_CONFIG "libcurl >= 7.68.0"
|
||||
INTERFACE_NAME CURL::libcurl
|
||||
FIND_PACKAGE_OPTIONS
|
||||
CONAN_OPTIONS
|
||||
libcurl:with_ssl=${curl_ssl}
|
||||
libcurl:shared=True
|
||||
)
|
||||
|
||||
endif()
|
||||
|
||||
set_conan_vars_to_parent()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user