From f9aad7b3a4388c169ee6b597d1c3b8b85f82e763 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 16 Aug 2012 10:33:27 +0000 Subject: [PATCH] --- CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dc0de1bfa..a8222762a9 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) -- GitLab