Commit ce2a3251 authored by Graeme Hill's avatar Graeme Hill

Add cmake_minimum_required to root CMakeLists.txt

There was already a minimum version specified in the actual CMakeLists
file in the C++ directory, but since the parent file does not have it
you get a warning if you build in the idiomatic cmake fashion:

    mkdir build
    cd build
    cmake .. # <---- warning here because no minimum version specified

I used 3.1 as min version because that is the same as specified in child
file.
parent 941c783c
cmake_minimum_required(VERSION 3.1)
add_subdirectory(c++)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment