From 2db0690496bf4444b9def74204a3d2eb2530c5d0 Mon Sep 17 00:00:00 2001 From: ahcorde Date: Tue, 5 Apr 2022 21:07:28 +0200 Subject: [PATCH] try to fix CI Signed-off-by: ahcorde --- .github/ci/packages.apt | 1 + CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/ci/packages.apt b/.github/ci/packages.apt index d310abe8b..7ea0a98b5 100644 --- a/.github/ci/packages.apt +++ b/.github/ci/packages.apt @@ -7,6 +7,7 @@ libignition-utils1-cli-dev libtinyxml2-dev liburdfdom-dev libxml2-utils +python3-dev python3-distutils python3-psutil python3-pybind11 diff --git a/CMakeLists.txt b/CMakeLists.txt index 8336ffc27..7f7a0aa0d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -136,7 +136,7 @@ if (BUILD_SDF) find_package(pybind11 2.4 QUIET) if (${pybind11_FOUND}) - find_package(Python3 REQUIRED COMPONENTS Development) + find_package(Python3 ${IGN_PYTHON_VERSION} REQUIRED COMPONENTS Development) message (STATUS "Searching for pybind11 - found version ${pybind11_VERSION}.") else() IGN_BUILD_WARNING("pybind11 is missing: Python interfaces are disabled.")