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
project("dune-istl" C CXX)
project(dune-istl C CXX)
# general stuff
cmake_minimum_required(VERSION 2.8.6)
cmake_minimum_required(VERSION 2.8.12)
# guess build tree of dune-common
if(NOT (dune-common_DIR OR dune-common_ROOT OR
......@@ -23,10 +23,10 @@ include(DuneMacros)
# start a dune project with information from dune.module
dune_project()
add_subdirectory("cmake/modules")
add_subdirectory("m4")
add_subdirectory("dune")
add_subdirectory("doc")
add_subdirectory(cmake/modules)
add_subdirectory(m4)
add_subdirectory(dune)
add_subdirectory(doc)
# finalize the dune project, e.g. generating config.h etc.
finalize_dune_project(GENERATE_CONFIG_H_CMAKE)
......@@ -8,9 +8,7 @@ find_package(ParMETIS)
include(AddParMETISFlags)
find_package(SuperLU)
include(AddSuperLUFlags)
find_package(SuiteSparse OPTIONAL_COMPONENTS UMFPACK)
include(AddSuiteSparseFlags)
find_package(ARPACKPP)
include(AddARPACKPPFlags)
find_package(SuiteSparse OPTIONAL_COMPONENTS LDL SPQR)
find_package(SuiteSparse OPTIONAL_COMPONENTS LDL SPQR UMFPACK)
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