summaryrefslogtreecommitdiff
path: root/Modules/BasicConfigVersion-ExactVersion.cmake.in
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-08 21:45:41 +0200
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-08 21:45:41 +0200
commit551b4c90626357ee9b6048e89c7406f3b4063fbb (patch)
tree11035ff42431d984b8a060b0531a3a980fff3e4a /Modules/BasicConfigVersion-ExactVersion.cmake.in
parent3a7be4f3943e160b1c0c144d914d3dd2ba42819e (diff)
downloadcmake-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.in2
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()