From 8b1f23e04391317cfad874e7dd283d9b302d6af9 Mon Sep 17 00:00:00 2001 From: Liam Merino Date: Thu, 23 Apr 2026 21:52:30 -0700 Subject: [PATCH] use FindPython --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d8cd5a876..797a3920c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ if("${draco_root}" STREQUAL "${draco_build}") "And re-run CMake from the draco_build directory.") endif() -include(FindPythonInterp) +find_package(Python COMPONENTS Interpreter) include("${draco_root}/cmake/draco_build_definitions.cmake") include("${draco_root}/cmake/draco_cpu_detection.cmake") include("${draco_root}/cmake/draco_dependencies.cmake")