Skip to content

Commit

Permalink
Merge Pull Request #4966 from trilinos/Trilinos/csiefer-7363b1b
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: MueLu: Better configure time checks for matlab
PR Author: csiefer2
  • Loading branch information
trilinos-autotester authored Apr 19, 2019
2 parents a48c257 + 7363b1b commit 8c5bac7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/muelu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,11 @@ if(TPL_ENABLE_MATLAB)
IF(NOT ${PACKAGE_NAME}_ENABLE_Epetra OR NOT ${PACKAGE_NAME}_ENABLE_Tpetra)
MESSAGE(FATAL_ERROR "Muemex interfaces require \"-D${PACKAGE_NAME}_ENABLE_Epetra:BOOL=ON\" and \"-D${PACKAGE_NAME}_ENABLE_Tpetra:BOOL=ON\".")
ENDIF()

IF(NOT Tpetra_INST_INT_INT OR Tpetra_INST_INT_LONG OR Tpetra_INST_INT_LONG_LONG)
MESSAGE(FATAL_ERROR "Muemex interfaces require that Tpetra only be instantiated with Tpetra_INST_INT_INT, not Tpetra_INST_INT_LONG or Tpetra_INST_INT_LONG_LONG")
ENDIF()

ENDIF()

if(TPL_ENABLE_MATLAB)
Expand Down

0 comments on commit 8c5bac7

Please sign in to comment.