diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d44ab24..ea66af76 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,16 +18,6 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) ##---------------------------------------------------------------------------## find_package(Cabana REQUIRED) -macro(CabanaPD_check_required) - cmake_parse_arguments(CABANA "" "OPTION" "" ${ARGN}) - if( NOT Cabana_ENABLE_${CABANA_OPTION} ) - message( FATAL_ERROR "Cabana must be compiled with ${CABANA_OPTION}" ) - endif() -endmacro() - -CabanaPD_check_required( OPTION MPI ) -CabanaPD_check_required( OPTION CAJITA ) - macro(CabanaPD_check_optional) cmake_parse_arguments(CABANA "" "OPTION" "" ${ARGN}) if( Cabana_ENABLE_${CABANA_OPTION} )