diff options
author | Christian <christian.legge@seamatica.ca> | 2019-09-17 20:15:59 +0300 |
---|---|---|
committer | Christian <christian.legge@seamatica.ca> | 2019-09-17 20:15:59 +0300 |
commit | bd4301b2c168bb9f8f123031fe13cf1d571a791b (patch) | |
tree | 1edb1f3dbd7ba2b906a1261ff6702afe1771661a /CMakeLists.txt | |
parent | e771f4e75e0275c436bfad2ef03910347918e7c0 (diff) |
added arch_independent option
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bfdc8df7..6f1fac76 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.2) +cmake_minimum_required(VERSION 3.14) #--------------------------------------------------------------------------------------- # Start spdlog project @@ -197,7 +197,7 @@ if (SPDLOG_INSTALL) include(CMakePackageConfigHelpers) configure_file("${project_config_in}" "${project_config_out}" @ONLY) - write_basic_package_version_file("${version_config_file}" COMPATIBILITY SameMajorVersion) + write_basic_package_version_file("${version_config_file}" COMPATIBILITY SameMajorVersion ARCH_INDEPENDENT) install(FILES "${project_config_out}" "${version_config_file}" DESTINATION "${export_dest_dir}") |