From def155a5ba0b92fa04b04cc52197c0d345c87bf0 Mon Sep 17 00:00:00 2001 From: Alf Gaida Date: Sun, 14 Oct 2018 17:54:20 +0200 Subject: Set cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) Removed set CMAKE_BUILD_TYPE --- CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 9425157..139a653 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,9 @@ -cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) +cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) +# CMP0000: Call the cmake_minimum_required() command at the beginning of the top-level +# CMakeLists.txt file even before calling the project() command. +# The cmake_minimum_required(VERSION) command implicitly invokes the cmake_policy(VERSION) +# command to specify that the current project code is written for the given range of CMake +# versions. project(pavucontrol-qt) option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF) @@ -19,10 +24,6 @@ find_package(Qt5DBus REQUIRED) find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) -if(NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE Release) -endif() - set(PAVUCONTROLQT_MAJOR_VERSION 0) set(PAVUCONTROLQT_MINOR_VERSION 14) set(PAVUCONTROLQT_PATCH_VERSION 0) @@ -45,4 +46,3 @@ pkg_check_modules( ) add_subdirectory(src) - -- cgit v1.2.3-55-g7522