diff options
author | Justin Bassett <jbassett271@gmail.com> | 2018-11-26 07:40:36 (GMT) |
---|---|---|
committer | Justin Bassett <jbassett271@gmail.com> | 2018-12-01 06:52:40 (GMT) |
commit | eb973f935f25f5bafdb8d55360a1b122e9dabfa5 (patch) | |
tree | f7d7ad0665c8ea0e04efe8a7b7d782beabad60d7 /Modules/WriteBasicConfigVersionFile.cmake | |
parent | 6786345210994063030ad82f7ece66a461bbfb76 (diff) | |
download | CMake-eb973f935f25f5bafdb8d55360a1b122e9dabfa5.zip CMake-eb973f935f25f5bafdb8d55360a1b122e9dabfa5.tar.gz CMake-eb973f935f25f5bafdb8d55360a1b122e9dabfa5.tar.bz2 |
CMakePackageConfigHelpers: Add ARCH_INDEPENDENT option
Allow skipping the architecture check in the package version file generated from calling
write_basic_package_version_file. Document said architecture check.
Fixes: #16184
Diffstat (limited to 'Modules/WriteBasicConfigVersionFile.cmake')
-rw-r--r-- | Modules/WriteBasicConfigVersionFile.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/WriteBasicConfigVersionFile.cmake b/Modules/WriteBasicConfigVersionFile.cmake index 1f13096..45f9e58 100644 --- a/Modules/WriteBasicConfigVersionFile.cmake +++ b/Modules/WriteBasicConfigVersionFile.cmake @@ -15,6 +15,7 @@ WriteBasicConfigVersionFile WRITE_BASIC_CONFIG_VERSION_FILE( filename [VERSION major.minor.patch] COMPATIBILITY (AnyNewerVersion|SameMajorVersion|SameMinorVersion|ExactVersion) + [ARCH_INDEPENDENT] ) @@ -22,7 +23,7 @@ WriteBasicConfigVersionFile function(WRITE_BASIC_CONFIG_VERSION_FILE _filename) - set(options ) + set(options ARCH_INDEPENDENT ) set(oneValueArgs VERSION COMPATIBILITY ) set(multiValueArgs ) |