From a55552e7687db233c675246eaa0075b6a6629a9a Mon Sep 17 00:00:00 2001 From: Alwin Esch Date: Sun, 25 Aug 2019 22:00:16 +0200 Subject: [PATCH] update CMakeLists.txt to 3.5 --- CMakeLists.txt | 4 +--- depends/common/jsoncpp/CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f1a1fb..f96a537 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,7 @@ +cmake_minimum_required(VERSION 3.5) project(pvr.octonet) -cmake_minimum_required(VERSION 2.6) - list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}) -enable_language(CXX) find_package(Kodi REQUIRED) find_package(p8-platform REQUIRED) diff --git a/depends/common/jsoncpp/CMakeLists.txt b/depends/common/jsoncpp/CMakeLists.txt index b43dafc..a26585e 100644 --- a/depends/common/jsoncpp/CMakeLists.txt +++ b/depends/common/jsoncpp/CMakeLists.txt @@ -1,7 +1,6 @@ +cmake_minimum_required(VERSION 3.5) project(jsoncpp) -cmake_minimum_required(VERSION 3.1) -enable_language(CXX) SET(CMAKE_CXX_STANDARD 11) SET(CMAKE_CXX_STANDARD_REQUIRED ON) SET(CMAKE_CXX_EXTENSIONS OFF)