diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dc0de1bfa601c3dd7985e4ce73636b44183c9df..a8222762a90662d1d33d5204c3f011dc0d1d5f7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -773,9 +773,6 @@ if(HAVE_SOLVER) endif(SLEPC_INC2) endif(SLEPC_INC) endif(SLEPC_LIB) - if(NOT HAVE_SLEPC AND NOT ENV_SLEPC_DIR) - message("WARNING: Export SLEPC_DIR before calling cmake") - endif(NOT HAVE_SLEPC AND NOT ENV_SLEPC_DIR) endif(ENABLE_SLEPC) list(APPEND EXTERNAL_LIBRARIES ${PETSC_LIBS}) # find additional libraries to link with @@ -816,12 +813,6 @@ if(HAVE_SOLVER) list(APPEND EXTERNAL_INCLUDES ${PETSC_INC}) endif(PETSC_LIBS AND PETSC_INC) endif(EXISTS ${ENV_PETSC_DIR}/${ENV_PETSC_ARCH}/conf/petscvariables) - if(NOT HAVE_PETSC AND NOT ENV_PETSC_DIR) - message("WARNING: Export PETSC_DIR before calling cmake") - endif(NOT HAVE_PETSC AND NOT ENV_PETSC_DIR) - if(NOT HAVE_PETSC AND NOT ENV_PETSC_ARCH) - message("WARNING: Export PETSC_ARCH before calling cmake") - endif(NOT HAVE_PETSC AND NOT ENV_PETSC_ARCH) endif(ENABLE_PETSC) endif(HAVE_SOLVER)