From a20ea83b837d1d983b560be62ce849af3ceef0e0 Mon Sep 17 00:00:00 2001 From: FeignClaims Date: Sun, 10 Nov 2024 17:22:51 +0800 Subject: [PATCH] feat: allow syste package installation for conan 1 --- src/Conan.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Conan.cmake b/src/Conan.cmake index 70c39b63..4929eb50 100644 --- a/src/Conan.cmake +++ b/src/Conan.cmake @@ -169,6 +169,9 @@ macro(_run_conan1) # Pass either autodetected settings or a conan profile ${CONAN_SETTINGS} ${OUTPUT_QUIET} + CONF + -c tools.system.package_manager:mode=install + -c tools.system.package_manager:sudo=True ) endforeach() endif()