From 21cf9542c0c85064e22102175a59c4415b5efa58 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Fri, 8 Jan 2016 15:45:41 +0100 Subject: 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 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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) -- cgit 1.2.3-korg