diff --git a/packages/ml/test/ValidateParams/CMakeLists.txt b/packages/ml/test/ValidateParams/CMakeLists.txt index 97ad98f9cbd6..2f451907e4b2 100644 --- a/packages/ml/test/ValidateParams/CMakeLists.txt +++ b/packages/ml/test/ValidateParams/CMakeLists.txt @@ -9,8 +9,8 @@ IF(ML_ENABLE_AztecOO AND ML_ENABLE_Amesos) COMM serial mpi ) - ASSERT_DEFINED(PYTHONINTERP_FOUND) - IF (PYTHONINTERP_FOUND) + ASSERT_DEFINED(Python3_EXECUTABLE) + IF (Python3_EXECUTABLE) TRIBITS_ADD_ADVANCED_TEST( ValidateParameters_compareTestOutput COMM serial mpi