Skip to content

Commit

Permalink
ML: Replace PYTHONINTERP_FOUND with Python3_EXECUTABLE (TriBITSPub/Tr…
Browse files Browse the repository at this point in the history
…iBITS#610)

Python3_EXECUTABLE will evaluate to true in Python if it is set to use.

Signed-off-by: Roscoe A. Bartlett <[email protected]>
  • Loading branch information
bartlettroscoe committed Oct 11, 2024
1 parent 602d0e7 commit e644b5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ml/test/ValidateParams/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e644b5b

Please sign in to comment.