Skip to content

Commit a20ea83

Browse files
committed
feat: allow syste package installation for conan 1
1 parent 706e381 commit a20ea83

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Conan.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ macro(_run_conan1)
169169
# Pass either autodetected settings or a conan profile
170170
${CONAN_SETTINGS}
171171
${OUTPUT_QUIET}
172+
CONF
173+
-c tools.system.package_manager:mode=install
174+
-c tools.system.package_manager:sudo=True
172175
)
173176
endforeach()
174177
endif()

0 commit comments

Comments
 (0)