diff --git a/3rdparty/google-breakpad/CMakeLists.txt b/3rdparty/google-breakpad/CMakeLists.txt index 9fd52dc2a..ab59e41f9 100644 --- a/3rdparty/google-breakpad/CMakeLists.txt +++ b/3rdparty/google-breakpad/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.0.0) include_directories(${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/3rdparty/libmygpo-qt5/CMakeLists.txt b/3rdparty/libmygpo-qt5/CMakeLists.txt index 6897b4a9b..a78972870 100644 --- a/3rdparty/libmygpo-qt5/CMakeLists.txt +++ b/3rdparty/libmygpo-qt5/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required( VERSION 2.8.11 FATAL_ERROR ) +cmake_minimum_required( VERSION 3.0.0 FATAL_ERROR ) set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules) set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII" ) diff --git a/3rdparty/libprojectm/CMakeLists.txt b/3rdparty/libprojectm/CMakeLists.txt index e2b348bfd..ce5834448 100644 --- a/3rdparty/libprojectm/CMakeLists.txt +++ b/3rdparty/libprojectm/CMakeLists.txt @@ -1,5 +1,5 @@ PROJECT(projectM) -cmake_minimum_required(VERSION 2.6.0) +cmake_minimum_required(VERSION 3.0.0) SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The projectM core library.") include(CheckCXXCompilerFlag) diff --git a/3rdparty/libprojectm/MilkdropPresetFactory/CMakeLists.txt b/3rdparty/libprojectm/MilkdropPresetFactory/CMakeLists.txt index 2f737613b..824d51fae 100644 --- a/3rdparty/libprojectm/MilkdropPresetFactory/CMakeLists.txt +++ b/3rdparty/libprojectm/MilkdropPresetFactory/CMakeLists.txt @@ -1,5 +1,5 @@ PROJECT(MilkdropPresetFactory) -cmake_minimum_required(VERSION 2.4.0) +cmake_minimum_required(VERSION 3.0.0) if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) diff --git a/3rdparty/libprojectm/Renderer/CMakeLists.txt b/3rdparty/libprojectm/Renderer/CMakeLists.txt index c9b9c137a..40bfe2c20 100644 --- a/3rdparty/libprojectm/Renderer/CMakeLists.txt +++ b/3rdparty/libprojectm/Renderer/CMakeLists.txt @@ -1,5 +1,5 @@ PROJECT(Renderer) -cmake_minimum_required(VERSION 2.4.0) +cmake_minimum_required(VERSION 3.0.0) if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) diff --git a/3rdparty/qsqlite/CMakeLists.txt b/3rdparty/qsqlite/CMakeLists.txt index 19e6bf7bf..0f1fba525 100644 --- a/3rdparty/qsqlite/CMakeLists.txt +++ b/3rdparty/qsqlite/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.11) +cmake_minimum_required(VERSION 3.0.0) add_definitions(-DQT_STATICPLUGIN) diff --git a/3rdparty/qtiocompressor/CMakeLists.txt b/3rdparty/qtiocompressor/CMakeLists.txt index bbead7d9e..e908baabf 100644 --- a/3rdparty/qtiocompressor/CMakeLists.txt +++ b/3rdparty/qtiocompressor/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.11) +cmake_minimum_required(VERSION 3.0.0) set(IOCOMPRESSOR-SOURCES qtiocompressor.cpp diff --git a/3rdparty/qtsingleapplication/CMakeLists.txt b/3rdparty/qtsingleapplication/CMakeLists.txt index e04ade978..7825ab9e1 100644 --- a/3rdparty/qtsingleapplication/CMakeLists.txt +++ b/3rdparty/qtsingleapplication/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.11) +cmake_minimum_required(VERSION 3.0.0) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++0x") set(SINGLEAPP-SOURCES diff --git a/3rdparty/qxt/CMakeLists.txt b/3rdparty/qxt/CMakeLists.txt index 73c67a9fa..b3348c4b8 100644 --- a/3rdparty/qxt/CMakeLists.txt +++ b/3rdparty/qxt/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.11) +cmake_minimum_required(VERSION 3.0.0) set(CMAKE_CXX_STANDARD 11) set(QXT-SOURCES diff --git a/3rdparty/taglib/CMakeLists.txt b/3rdparty/taglib/CMakeLists.txt index ee8b2f9bd..39ffb9534 100644 --- a/3rdparty/taglib/CMakeLists.txt +++ b/3rdparty/taglib/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.11) +cmake_minimum_required(VERSION 3.0.0) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-delete-non-virtual-dtor") diff --git a/3rdparty/utf8-cpp/CMakeLists.txt b/3rdparty/utf8-cpp/CMakeLists.txt index e438780c8..14e7fcdc2 100644 --- a/3rdparty/utf8-cpp/CMakeLists.txt +++ b/3rdparty/utf8-cpp/CMakeLists.txt @@ -1,2 +1,2 @@ -cmake_minimum_required(VERSION 2.8.11) +cmake_minimum_required(VERSION 3.0.0) set(CMAKE_CXX_STANDARD 11) diff --git a/CMakeLists.txt b/CMakeLists.txt index 27f64fee9..15cf068b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ project(clementine) -cmake_minimum_required(VERSION 2.8.11) +cmake_minimum_required(VERSION 3.0.0) cmake_policy(SET CMP0011 OLD) cmake_policy(SET CMP0053 OLD) diff --git a/cmake/ParseArguments.cmake b/cmake/ParseArguments.cmake index 0abf43b29..fd5f9987e 100644 --- a/cmake/ParseArguments.cmake +++ b/cmake/ParseArguments.cmake @@ -1,6 +1,6 @@ # From http://www.cmake.org/Wiki/CMakeMacroParseArguments -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.0.0) MACRO(PARSE_ARGUMENTS prefix arg_names option_names) SET(DEFAULT_ARGS) diff --git a/cmake/Translations.cmake b/cmake/Translations.cmake index 8ec962992..a16bcc390 100644 --- a/cmake/Translations.cmake +++ b/cmake/Translations.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.0.0) set (XGETTEXT_OPTIONS --qt --keyword=tr:1,2c --keyword=tr --flag=tr:1:pass-c-format --flag=tr:1:pass-qt-format --keyword=trUtf8 --flag=tr:1:pass-c-format --flag=tr:1:pass-qt-format diff --git a/gst/moodbar/CMakeLists.txt b/gst/moodbar/CMakeLists.txt index 28f8fbead..636ef9fe3 100644 --- a/gst/moodbar/CMakeLists.txt +++ b/gst/moodbar/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.11) +cmake_minimum_required(VERSION 3.0.0) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual -Wall --std=c++0x") diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ff571fc19..81031b072 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.11) +cmake_minimum_required(VERSION 3.0.0) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -Wno-c++11-narrowing")