From 1d43d28491ea0c2624bf1449351ba2b91a8fd752 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Fri, 11 Oct 2024 00:07:20 -0600 Subject: [PATCH] ML: Replace PYTHONINTERP_FOUND with Python3_EXECUTABLE (TriBITSPub/TriBITS#610) Python3_EXECUTABLE will evaluate to true in Python if it is set to use. --- packages/ml/test/ValidateParams/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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