diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2016-01-08 15:45:41 +0100 |
---|---|---|
committer | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2016-01-08 15:45:41 +0100 |
commit | 21cf9542c0c85064e22102175a59c4415b5efa58 (patch) | |
tree | 9d65e76fae43f2a1399ef921cbe03a1153e841d2 | |
parent | 253e3d98505108f652ba875544fde4f58d4714c8 (diff) |
Add CMAKE_MINIMUM_REQUIRED for CMake >= 3.1
CMake >= 3.1 requires a "CMAKE_MIMIMUM_REQUIRED" directive.
Otherwise, an error message mentioning "VERSION_LESS"
appears during the configure step, and build fails.
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f8d0e5b..52afae4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ PROJECT(hvacplugin CXX) +CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) SET(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}") include(FindPkgConfig) |