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 16:16:44 +0300
committergabime <gmelman1@gmail.com>2019-09-18 16:16:44 +0300
commitc1c23d1e7b8c78b732869e89bb61dbd1d721c069 (patch)
treec55af663692482be3832514c39154dbdc0b84d14 /CMakeLists.txt
parent9605641982850b0fd7007e6d1e0e69c6815eee66 (diff)
Revert pull #1228
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f6051329..bfdc8df7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -197,11 +197,7 @@ if (SPDLOG_INSTALL)
include(CMakePackageConfigHelpers)
configure_file("${project_config_in}" "${project_config_out}" @ONLY)
- 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)
- endif()
+ write_basic_package_version_file("${version_config_file}" COMPATIBILITY SameMajorVersion)
install(FILES
"${project_config_out}"
"${version_config_file}" DESTINATION "${export_dest_dir}")