Returned using find_host_package for PythonInterp 3 instead of find_package.

I changed this logic here: 05798c17fb
It was originally fixed here: 967fa92d14
This commit is contained in:
Evgeny Proydakov 2021-02-26 14:31:27 +03:00
parent 00c6d2d4a7
commit a990b97d07

View File

@ -297,7 +297,7 @@ else()
endif()
if(BUILD_EXTERNAL AND IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/External)
find_package(PythonInterp 3 REQUIRED)
find_host_package(PythonInterp 3 REQUIRED)
# We depend on these for later projects, so they should come first.
add_subdirectory(External)