Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@gmail.com>2019-09-18 15:08:15 +0300
committergabime <gmelman1@gmail.com>2019-09-18 15:08:15 +0300
commite52672c263df3b64b625adb59597a5c58bff69d0 (patch)
treed0c30d910778f11f96ba7b333cec8a0eb4e95497 /CMakeLists.txt
parent50f070980e9166923832f64d545dbcd9ee778514 (diff)
Fixed CMakeLists.txt
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d9576f4e..f6051329 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
# Copyright(c) 2019 spdlog authors
# Distributed under the MIT License (http://opensource.org/licenses/MIT)
-cmake_minimum_required(VERSION 3.14)
+cmake_minimum_required(VERSION 3.2)
#---------------------------------------------------------------------------------------
# Start spdlog project
@@ -197,7 +197,7 @@ if (SPDLOG_INSTALL)
include(CMakePackageConfigHelpers)
configure_file("${project_config_in}" "${project_config_out}" @ONLY)
- if(${CMAKE_VERSION} VERSION_GREATER 3.13)
+ if(${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.14)
write_basic_package_version_file("${version_config_file}" COMPATIBILITY SameMajorVersion ARCH_INDEPENDENT)
else()
write_basic_package_version_file("${version_config_file}" COMPATIBILITY SameMajorVersion)