Skip to content

Commit

Permalink
Merge pull request #1 from ndellingwood/enable-components
Browse files Browse the repository at this point in the history
Move VERIFY_EMPTY from fake_tribits to kokkoskernels_tribits
  • Loading branch information
jjwilke committed Oct 12, 2020
2 parents e6ca8f0 + 00e1c83 commit d079c22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmake/fake_tribits.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,6 @@ LIST(APPEND TEMP ${ARGN})
GLOBAL_SET(${VARNAME} ${TEMP})
ENDFUNCTION()

FUNCTION(VERIFY_EMPTY CONTEXT)
IF(${ARGN})
MESSAGE(FATAL_ERROR "Kokkos does not support all of Tribits. Unhandled arguments in ${CONTEXT}:\n${ARGN}")
ENDIF()
ENDFUNCTION()

MACRO(PREPEND_GLOBAL_SET VARNAME)
ASSERT_DEFINED(${VARNAME})
GLOBAL_SET(${VARNAME} ${ARGN} ${${VARNAME}})
Expand Down
6 changes: 6 additions & 0 deletions cmake/kokkoskernels_tribits.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ IF (KOKKOSKERNELS_HAS_TRILINOS)
INCLUDE(TribitsETISupport)
ENDIF()

FUNCTION(VERIFY_EMPTY CONTEXT)
IF(${ARGN})
MESSAGE(FATAL_ERROR "Kokkos does not support all of Tribits. Unhandled arguments in ${CONTEXT}:\n${ARGN}")
ENDIF()
ENDFUNCTION()

#MESSAGE(STATUS "The project name is: ${PROJECT_NAME}")

MACRO(KOKKOSKERNELS_PACKAGE_POSTPROCESS)
Expand Down

0 comments on commit d079c22

Please sign in to comment.