diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
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) - |