mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
added arch_independent option
This commit is contained in:
parent
e771f4e75e
commit
bd4301b2c1
@ -1,7 +1,7 @@
|
|||||||
# Copyright(c) 2019 spdlog authors
|
# Copyright(c) 2019 spdlog authors
|
||||||
# Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
# 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
|
# Start spdlog project
|
||||||
@ -197,7 +197,7 @@ if (SPDLOG_INSTALL)
|
|||||||
|
|
||||||
include(CMakePackageConfigHelpers)
|
include(CMakePackageConfigHelpers)
|
||||||
configure_file("${project_config_in}" "${project_config_out}" @ONLY)
|
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
|
install(FILES
|
||||||
"${project_config_out}"
|
"${project_config_out}"
|
||||||
"${version_config_file}" DESTINATION "${export_dest_dir}")
|
"${version_config_file}" DESTINATION "${export_dest_dir}")
|
||||||
|
Loading…
Reference in New Issue
Block a user