Skip to content

Commit 3e2b2bf

Browse files
committed
Support CMake 3.12+ in finding python3.
1 parent 5a1f982 commit 3e2b2bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,10 @@ if(NOT COMMAND find_host_program)
238238
endif()
239239

240240
# Tests require Python3
241-
find_host_package(Python3 REQUIRED)
241+
# UE Change Begin: Support CMake 3.12+ in finding python3
242+
find_package(Python3 COMPONENTS Interpreter Development)
243+
#find_host_package(PythonInterp 3 REQUIRED)
244+
# UE Change End: Support CMake 3.12+ in finding python3
242245

243246
# Check for symbol exports on Linux.
244247
# At the moment, this check will fail on the OSX build machines for the Android NDK.

0 commit comments

Comments
 (0)