File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ else()
308308endif ()
309309
310310if (BUILD_EXTERNAL AND IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /External)
311- find_host_package ( PythonInterp 3 REQUIRED )
311+ find_package ( Python3 REQUIRED COMPONENTS Interpreter )
312312
313313 # We depend on these for later projects, so they should come first.
314314 add_subdirectory (External )
Original file line number Diff line number Diff line change 3131# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3232# POSSIBILITY OF SUCH DAMAGE.
3333
34- find_host_package ( PythonInterp 3 REQUIRED )
34+ find_package ( Python3 REQUIRED COMPONENTS Interpreter )
3535
3636set (GLSLANG_INTRINSIC_H "${GLSLANG_GENERATED_INCLUDEDIR} /glslang/glsl_intrinsic_header.h" )
3737set (GLSLANG_INTRINSIC_PY "${CMAKE_CURRENT_SOURCE_DIR} /../gen_extension_headers.py" )
You can’t perform that action at this time.
0 commit comments