diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-08-08 21:45:41 +0200 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-08-08 21:45:41 +0200 |
commit | 551b4c90626357ee9b6048e89c7406f3b4063fbb (patch) | |
tree | 11035ff42431d984b8a060b0531a3a980fff3e4a /Modules/BasicConfigVersion-ExactVersion.cmake.in | |
parent | 3a7be4f3943e160b1c0c144d914d3dd2ba42819e (diff) | |
download | cmake-551b4c90626357ee9b6048e89c7406f3b4063fbb.tar.gz |
Revert the use of string(APPEND) in .cmake.in files
The generated files may be consumed by older cmake versions which do not
support string(APPEND).
Diffstat (limited to 'Modules/BasicConfigVersion-ExactVersion.cmake.in')
-rw-r--r-- | Modules/BasicConfigVersion-ExactVersion.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/BasicConfigVersion-ExactVersion.cmake.in b/Modules/BasicConfigVersion-ExactVersion.cmake.in index 5741007cc2..de4a23af09 100644 --- a/Modules/BasicConfigVersion-ExactVersion.cmake.in +++ b/Modules/BasicConfigVersion-ExactVersion.cmake.in @@ -42,6 +42,6 @@ endif() # check that the installed version has the same 32/64bit-ness as the one which is currently searching: if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "@CMAKE_SIZEOF_VOID_P@") math(EXPR installedBits "@CMAKE_SIZEOF_VOID_P@ * 8") - string(APPEND PACKAGE_VERSION " (${installedBits}bit)") + set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") set(PACKAGE_VERSION_UNSUITABLE TRUE) endif() |