Skip to content

Commit

Permalink
Support CMake 3.12+ in finding python3.
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBanana committed Aug 27, 2024
1 parent 4f74fd0 commit 4a8807c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,10 @@ if(NOT COMMAND find_host_program)
endif()

# Tests require Python3
find_host_package(Python3 REQUIRED)
# UE Change Begin: Support CMake 3.12+ in finding python3
find_package(Python3 COMPONENTS Interpreter Development)
#find_host_package(PythonInterp 3 REQUIRED)
# UE Change End: Support CMake 3.12+ in finding python3

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

0 comments on commit 4a8807c

Please sign in to comment.