From 1eb35816523821b1db09d69ed9993648d1d77de2 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Tue, 27 Jun 2023 13:44:14 +0000 Subject: [PATCH] Unconditionally find the python interpreter Signed-off-by: Michael Carroll --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 32669c2a..725b69c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,6 +82,8 @@ set(GZ_UTILS_VER ${gz-utils2_VERSION_MAJOR}) gz_find_package(gz-math7 REQUIRED) set(GZ_MATH_VER ${gz-math7_VERSION_MAJOR}) +find_package(Python3 REQUIRED COMPONENTS Interpreter) + #-------------------------------------- # Find if command is available. This is used to enable tests. # Note that CLI files are installed regardless of whether the dependency is