1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-24 15:23:52 +02:00

Add an option to force the build of dependencies

When `audacity_conan_allow_prebuilt_binaries` is turned on,
the dependecies that are managed by Conan
will be built from the source code every time
cmake configuartion changes
This commit is contained in:
Dmitry Vedenko
2021-07-30 18:42:30 +03:00
committed by Dmitry Vedenko
parent f0bea9ed21
commit aae3627476
2 changed files with 21 additions and 2 deletions

View File

@@ -9,6 +9,12 @@ if( ${_OPT}conan_enabled )
)
endif()
if ( ${_OPT}conan_allow_prebuilt_binaries )
set ( CONAN_BUILD_MODE BUILD missing )
else()
set( CONAN_BUILD_MODE BUILD all )
endif()
set( CONAN_BUILD_REQUIRES )
set( CONAN_REQUIRES )
set( CONAN_PACKAGE_OPTIONS )
@@ -253,7 +259,7 @@ function ( _conan_install build_type )
conan_cmake_install(PATH_OR_REFERENCE .
BUILD missing
${CONAN_BUILD_MODE}
SETTINGS ${settings}
)
endfunction()