Unverified Commit e04a046c by greg-lunarg Committed by GitHub

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.
parents abb9befa a990b97d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment