From f3ed83245a742538c354889b5b20b69485332067 Mon Sep 17 00:00:00 2001 From: Maximilian Linhoff Date: Fri, 7 Nov 2025 11:30:11 +0000 Subject: [PATCH] Only look for Development.Module python component --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 60b52a6..30718c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ set(VERSION_STRING ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) add_definitions(-DGFAL2_PYTHON_VERSION="${VERSION_STRING}") # Find build packages -find_package(Python REQUIRED COMPONENTS Interpreter Development) +find_package(Python REQUIRED COMPONENTS Interpreter Development.Module REQUIRED) find_package(Boost COMPONENTS "python3${Python_VERSION_MINOR}") if(NOT Boost_LIBRARIES) # Failed to find a specific Python3x version, fallback to Python3