From 98fedec054994ad181be11113e4aa0a12525a197 Mon Sep 17 00:00:00 2001 From: Martijn Reicher Date: Wed, 26 Apr 2023 11:24:56 +0200 Subject: [PATCH] Add profiles to conan install Conan requires profiles in the invoke of the install command starting with version 2.0, with it being an optional parameter right now Added the default profile to conan install to head this possible issue off Signed-off-by: Martijn Reicher --- .azure/templates/build-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure/templates/build-test.yml b/.azure/templates/build-test.yml index 5dcb924c..23d66cb0 100644 --- a/.azure/templates/build-test.yml +++ b/.azure/templates/build-test.yml @@ -109,7 +109,7 @@ steps: cyclonedds mkdir cyclonedds/build cd cyclonedds/build - conan install -b missing -s arch=${ARCH} -s build_type=${BUILD_TYPE} .. + conan install -b missing -s arch=${ARCH} -s build_type=${BUILD_TYPE} .. -pr:b=default cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ -DCMAKE_INSTALL_PREFIX=install \ -DCMAKE_PREFIX_PATH="${BUILD_SOURCESDIRECTORY}/iceoryx/build/install" \ @@ -124,7 +124,7 @@ steps: set -e -x mkdir build cd build - conan install -b missing -s arch=${ARCH} -s build_type=${BUILD_TYPE} .. + conan install -b missing -s arch=${ARCH} -s build_type=${BUILD_TYPE} .. -pr:b=default cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ -DCMAKE_INSTALL_PREFIX=install \ -DCMAKE_PREFIX_PATH="${BUILD_SOURCESDIRECTORY}/cyclonedds/build/install;${BUILD_SOURCESDIRECTORY}/iceoryx/build/install" \