diff --git a/cmake/external/cutlass.cmake b/cmake/external/cutlass.cmake index 822b71c71d31db07b79a2a72eb1cf977c7c1ab07..3b731e0c112b69662fee582dd5f4dbb5df2a1e68 100644 --- a/cmake/external/cutlass.cmake +++ b/cmake/external/cutlass.cmake @@ -26,6 +26,10 @@ include_directories( add_definitions("-DPADDLE_WITH_CUTLASS") +if(NOT PYTHON_EXECUTABLE) + find_package(PythonInterp REQUIRED) +endif() + ExternalProject_Add( extern_cutlass ${EXTERNAL_PROJECT_LOG_ARGS} ${SHALLOW_CLONE}