Skip to content

Commit

Permalink
MueLu: Better configure time checks for matlab
Browse files Browse the repository at this point in the history
  • Loading branch information
csiefer2 committed Apr 19, 2019
1 parent 853f340 commit 7363b1b
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 7363b1b

Please sign in to comment.