Skip to content

Commit 4c4cd41

Browse files
author
David Braun
committed
.
1 parent eed40b7 commit 4c4cd41

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,9 @@ target_include_directories(ChucKDesignerCHOP PUBLIC
236236
$<INSTALL_INTERFACE:ChucKDesignerCHOP>
237237
)
238238

239-
set(Python_FIND_REGISTRY "LAST")
240-
find_package(Python REQUIRED COMPONENTS Interpreter Development)
239+
set(Python3_FIND_REGISTRY "LAST")
240+
set(Python3_FIND_STRATEGY "LOCATION")
241+
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
241242
target_link_libraries(${PROJECT_NAME} PUBLIC Python::Python)
242243

243244
target_link_libraries(${PROJECT_NAME} PUBLIC ChucKDesignerShared)

0 commit comments

Comments
 (0)