Commit ae9627c6 authored by Raul Tambre's avatar Raul Tambre

Raise CMake requirement to 3.13

* Reduces the range of possible version we'd need to test with.
* Enables newer policies reducing possible deprecation warnings from new policies.
* Allows removing some code for compatibility with older versions.
* Coincides with LLVM's bump to requiring CMake 3.13.
parent 58875bdc
# Copyright(c) 2019 spdlog authors Distributed under the MIT License (http://opensource.org/licenses/MIT)
cmake_minimum_required(VERSION 3.2)
if(${CMAKE_VERSION} VERSION_LESS 3.11)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
else()
cmake_policy(VERSION 3.11)
endif()
cmake_minimum_required(VERSION 3.13)
enable_language(C)
# ---------------------------------------------------------------------------------------
......
# Copyright(c) 2019 spdlog authors Distributed under the MIT License (http://opensource.org/licenses/MIT)
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.13)
project(spdlog_bench CXX)
if(NOT TARGET spdlog)
......
# Copyright(c) 2019 spdlog authors Distributed under the MIT License (http://opensource.org/licenses/MIT)
cmake_minimum_required(VERSION 3.2)
cmake_minimum_required(VERSION 3.13)
project(spdlog_examples CXX)
if(NOT TARGET spdlog)
......
cmake_minimum_required(VERSION 3.2)
cmake_minimum_required(VERSION 3.13)
project(spdlog_utests CXX)
if (NOT TARGET spdlog)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment