Skip to content

Commit

Permalink
Merge Pull Request #3732 from trilinos/Trilinos/jhu-b50bce8
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: MueLu require Tpetra if Kokkos is enabled
PR Author: jhux2
  • Loading branch information
trilinos-autotester authored Oct 25, 2018
2 parents e46050f + b50bce8 commit 99c9d60
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/muelu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ ENDIF()
ASSERT_DEFINED(Xpetra_INT_LONG_LONG)
ASSERT_DEFINED(Xpetra_ENABLE_Experimental)
ASSERT_DEFINED(Xpetra_ENABLE_Kokkos_Refactor)
IF (${PACKAGE_NAME}_ENABLE_KokkosCore AND NOT ${PACKAGE_NAME}_ENABLE_Tpetra)
MESSAGE(FATAL_ERROR "MueLu requires that if Kokkos is enabled, Tpetra must also be enabled.")
ENDIF()

if (${PACKAGE_NAME}_ENABLE_Tpetra)
ASSERT_DEFINED(Tpetra_INST_DOUBLE)
ASSERT_DEFINED(Tpetra_INST_INT_INT)
Expand Down

0 comments on commit 99c9d60

Please sign in to comment.