Merge pull request #2554 from proydakov/Try-to-find-python-interpreter-from-host-first
Returned using find_host_package for PythonInterp 3 instead of find_pachage.
This commit is contained in:
commit
e04a046ce7
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user