From 570bcdcf9469027c7be937ab0385ee2964b7a641 Mon Sep 17 00:00:00 2001 From: Ricardo Benitez Date: Tue, 17 Jun 2025 20:54:39 +0200 Subject: [PATCH] fix: add output folder option to install command Command `conan install` allows to specify "The root output folder for generated and build files". This folder is almost always the same as the -if "install folder" Signed-off-by: Ricardo Benitez --- src/install.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/install.rs b/src/install.rs index 00f962b..8afc07e 100644 --- a/src/install.rs +++ b/src/install.rs @@ -189,6 +189,7 @@ impl<'a> InstallCommand<'a> { let current_dir = env::current_dir()?.to_path_buf(); if output_dir != ¤t_dir { args.extend(&["-if", output_dir.to_str().unwrap()]); + args.extend(&["-of", output_dir.to_str().unwrap()]); } }