summaryrefslogtreecommitdiffstats
path: root/Modules/BasicConfigVersion-AnyNewerVersion.cmake.in
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-08 19:45:41 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-08 19:45:41 (GMT)
commit551b4c90626357ee9b6048e89c7406f3b4063fbb (patch)
tree11035ff42431d984b8a060b0531a3a980fff3e4a /Modules/BasicConfigVersion-AnyNewerVersion.cmake.in
parent3a7be4f3943e160b1c0c144d914d3dd2ba42819e (diff)
downloadCMake-551b4c90626357ee9b6048e89c7406f3b4063fbb.zip
CMake-551b4c90626357ee9b6048e89c7406f3b4063fbb.tar.gz
CMake-551b4c90626357ee9b6048e89c7406f3b4063fbb.tar.bz2
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-AnyNewerVersion.cmake.in')
-rw-r--r--Modules/BasicConfigVersion-AnyNewerVersion.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/BasicConfigVersion-AnyNewerVersion.cmake.in b/Modules/BasicConfigVersion-AnyNewerVersion.cmake.in
index 3e8c511..bc78016 100644
--- a/Modules/BasicConfigVersion-AnyNewerVersion.cmake.in
+++ b/Modules/BasicConfigVersion-AnyNewerVersion.cmake.in
@@ -26,6 +26,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()