From 62ca8bd2aa9011dc73a89f7641c4cb982ca5849a Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Tue, 21 Mar 2023 23:36:19 -0400 Subject: [PATCH] Find python hack --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0379012440..32adc72391 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -757,6 +757,9 @@ endif() if(ENABLE_MANIFOLD) + # Hack to find our wanted version of Python before Manifold's included googletest finds Python2 + find_package(PythonInterp 3.4 REQUIRED) + if(NOT DEFINED MANIFOLD_PAR AND ENABLE_TBB) set(MANIFOLD_PAR TBB CACHE STRING "Parallel backend, either \"TBB\" or \"OpenMP\" or \"NONE\"" FORCE) endif()