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.
  • Loading branch information
bartlettroscoe committed Oct 11, 2024
1 parent 3b14808 commit 1d43d28
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 1d43d28

Please sign in to comment.