From 4c4cd41c1c07506429023036da57a910959415d9 Mon Sep 17 00:00:00 2001 From: David Braun Date: Mon, 31 Jan 2022 20:43:30 -0800 Subject: [PATCH] . --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d2642ca..b24a633 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -236,8 +236,9 @@ target_include_directories(ChucKDesignerCHOP PUBLIC $ ) -set(Python_FIND_REGISTRY "LAST") -find_package(Python REQUIRED COMPONENTS Interpreter Development) +set(Python3_FIND_REGISTRY "LAST") +set(Python3_FIND_STRATEGY "LOCATION") +find_package(Python3 REQUIRED COMPONENTS Interpreter Development) target_link_libraries(${PROJECT_NAME} PUBLIC Python::Python) target_link_libraries(${PROJECT_NAME} PUBLIC ChucKDesignerShared)