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

Merge branch 'duneproject-cmake-3.1' into 'master'

Require CMake 3.1 when creating new modules with duneproject.

See merge request core/dune-common!429
parents ec2c8498 07cfb47d
No related branches found
No related tags found
No related merge requests found
......@@ -384,7 +384,9 @@ R_DELIM
################## CMakeLists.txt ##################
echo "- $PROJECT/CMakeLists.txt"
cat> "$PROJECT/CMakeLists.txt" << M_DELIM
cmake_minimum_required(VERSION 2.8.12)
# We require version CMake version 3.1 to prevent issues
# with dune_enable_all_packages and older CMake versions.
cmake_minimum_required(VERSION 3.1)
project($PROJECT CXX)
if(NOT (dune-common_DIR OR dune-common_ROOT OR
......
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