Commit f43e76e6 authored by Patrik Huber's avatar Patrik Huber

Set minimum CMake version to 3.1.3

Also swapped order of project() declaration and cmake_minimum_required()
parent 35070a24
cmake_minimum_required(VERSION 2.8.12) cmake_minimum_required(VERSION 3.1.3)
project(eos) project(eos)
set(eos_VERSION_MAJOR 0) set(eos_VERSION_MAJOR 0)
set(eos_VERSION_MINOR 10) set(eos_VERSION_MINOR 10)
......
cmake_minimum_required(VERSION 3.1.3)
project(examples) project(examples)
cmake_minimum_required(VERSION 2.8.10)
# The examples need a few additional dependencies (e.g. boost filesystem and OpenCV highgui): # The examples need a few additional dependencies (e.g. boost filesystem and OpenCV highgui):
......
project(matlab-bindings)
cmake_minimum_required(VERSION 3.7.0) cmake_minimum_required(VERSION 3.7.0)
project(matlab-bindings)
# If Matlab_ROOT_DIR is set, the Matlab at that location is used. # If Matlab_ROOT_DIR is set, the Matlab at that location is used.
find_package(Matlab COMPONENTS MX_LIBRARY REQUIRED) find_package(Matlab COMPONENTS MX_LIBRARY REQUIRED)
......
cmake_minimum_required(VERSION 3.1.3)
project(python-bindings) project(python-bindings)
cmake_minimum_required(VERSION 2.8.12)
# The python bindings may need a few additional dependencies (e.g. boost filesystem and OpenCV), which are # The python bindings may need a few additional dependencies (e.g. boost filesystem and OpenCV), which are
# included below - at some point it should be checked if they are really needed. # included below - at some point it should be checked if they are really needed.
......
cmake_minimum_required(VERSION 3.1.3)
project(utils) project(utils)
cmake_minimum_required(VERSION 2.8.12)
# The utils need a few additional dependencies (e.g. boost filesystem and OpenCV highgui): # The utils need a few additional dependencies (e.g. boost filesystem and OpenCV highgui):
......
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