From 13a7b8e6e74f5a911e66e2981bc96c2688007e20 Mon Sep 17 00:00:00 2001 From: ncullen93 Date: Sun, 31 Mar 2024 23:06:48 +0200 Subject: [PATCH] test using any python version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cc186fc1..381558b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.16.3...3.26) project(ants LANGUAGES CXX) # Try to import all Python components potentially needed by nanobind -find_package(Python 3.11 +find_package(Python REQUIRED COMPONENTS Interpreter Development.Module OPTIONAL_COMPONENTS Development.SABIModule)