From f34496e1c4ccb12bc1af02efad0b2a9ab620a3a1 Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Tue, 19 Dec 2023 12:48:40 +1000 Subject: [PATCH] Set -DPython3_FIND_STRATEGY=LOCATION xref https://github.com/conda-forge/cmake-feedstock/issues/196 --- vinca/templates/build_ament_cmake.sh.in | 1 + 1 file changed, 1 insertion(+) diff --git a/vinca/templates/build_ament_cmake.sh.in b/vinca/templates/build_ament_cmake.sh.in index 099e1a1..01c63b5 100644 --- a/vinca/templates/build_ament_cmake.sh.in +++ b/vinca/templates/build_ament_cmake.sh.in @@ -54,6 +54,7 @@ cmake \ -DPYTHON_EXECUTABLE=$PYTHON_EXECUTABLE \ -DPython_EXECUTABLE=$PYTHON_EXECUTABLE \ -DPython3_EXECUTABLE=$PYTHON_EXECUTABLE \ + -DPython3_FIND_STRATEGY=LOCATION \ -DPKG_CONFIG_EXECUTABLE=$PKG_CONFIG_EXECUTABLE \ -DPYTHON_INSTALL_DIR=$SP_DIR \ -DSETUPTOOLS_DEB_LAYOUT=OFF \