summaryrefslogtreecommitdiffstats
path: root/Modules/BasicConfigVersion-ExactVersion.cmake.in
Commit message (Collapse)AuthorAgeFilesLines
* CMakePackageConfigHelpers: Add ARCH_INDEPENDENT optionJustin Bassett2018-12-011-0/+5
| | | | | | | Allow skipping the architecture check in the package version file generated from calling write_basic_package_version_file. Document said architecture check. Fixes: #16184
* Revert the use of string(APPEND) in .cmake.in filesDaniel Pfeifer2016-08-081-1/+1
| | | | | The generated files may be consumed by older cmake versions which do not support string(APPEND).
* Use string(APPEND) in ModulesDaniel Pfeifer2016-07-271-1/+1
| | | | | | | Automate with: find Modules -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
* write_basic_package_version_file: remove variable dereferences in templatesRolf Eike Beer2015-09-041-5/+5
| | | | Fixes some minor whitespace issues in the if()s.
* Remove .* expressions from beginning and end of MATCHES regexsRolf Eike Beer2014-04-141-2/+2
| | | | | | | | | All these expressions work the same: "foo" ".*foo.*" "^.*foo.*$" This assumes that the "Intel*" expressions were meant to be "Intel.*".
* write_basic_package_version_file() now works with unset CMAKE_SIZEOF_VOID_PAlex Neundorf2012-05-231-0/+5
| | | | | | | | This fixes #13241. If CMAKE_SIZEOF_VOID_P is not set, either in the installed or in the using project, don't check for it. Alex
* write_basic_package_version_file: add ExactVersion modeAlex Neundorf2012-03-101-0/+42
This mode is for packages which consider themselves only compatible if exactly the same version is requested. The tweak version is ignored. Alex