Skip to content
Snippets Groups Projects
Commit bc56a399 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[CMake] Beautifications; bump required CMake version to 2.8.12

parent eb47ce5d
No related branches found
No related tags found
No related merge requests found
# set up project # set up project
project("dune-istl" C CXX) project(dune-istl C CXX)
# general stuff # general stuff
cmake_minimum_required(VERSION 2.8.6) cmake_minimum_required(VERSION 2.8.12)
# guess build tree of dune-common # guess build tree of dune-common
if(NOT (dune-common_DIR OR dune-common_ROOT OR if(NOT (dune-common_DIR OR dune-common_ROOT OR
...@@ -23,10 +23,10 @@ include(DuneMacros) ...@@ -23,10 +23,10 @@ include(DuneMacros)
# start a dune project with information from dune.module # start a dune project with information from dune.module
dune_project() dune_project()
add_subdirectory("cmake/modules") add_subdirectory(cmake/modules)
add_subdirectory("m4") add_subdirectory(m4)
add_subdirectory("dune") add_subdirectory(dune)
add_subdirectory("doc") add_subdirectory(doc)
# finalize the dune project, e.g. generating config.h etc. # finalize the dune project, e.g. generating config.h etc.
finalize_dune_project(GENERATE_CONFIG_H_CMAKE) finalize_dune_project(GENERATE_CONFIG_H_CMAKE)
...@@ -8,9 +8,7 @@ find_package(ParMETIS) ...@@ -8,9 +8,7 @@ find_package(ParMETIS)
include(AddParMETISFlags) include(AddParMETISFlags)
find_package(SuperLU) find_package(SuperLU)
include(AddSuperLUFlags) include(AddSuperLUFlags)
find_package(SuiteSparse OPTIONAL_COMPONENTS UMFPACK)
include(AddSuiteSparseFlags)
find_package(ARPACKPP) find_package(ARPACKPP)
include(AddARPACKPPFlags) include(AddARPACKPPFlags)
find_package(SuiteSparse OPTIONAL_COMPONENTS LDL SPQR) find_package(SuiteSparse OPTIONAL_COMPONENTS LDL SPQR UMFPACK)
include(AddSuiteSparseFlags) include(AddSuiteSparseFlags)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment