Skip to content

Commit

Permalink
MueLu: require Tpetra if Kokkos is enabled
Browse files Browse the repository at this point in the history
github issue #3703
  • Loading branch information
jhux2 committed Oct 24, 2018
1 parent 62ba1f6 commit b50bce8
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 b50bce8

Please sign in to comment.