summaryrefslogtreecommitdiffstats
path: root/Modules/BasicConfigVersion-SameMajorVersion.cmake.in
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-01 21:29:27 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-01 21:29:27 (GMT)
commit4ba09bc6a22ab9aa3f59b6804224e3f96159658d (patch)
tree025446a29a3d7a13ffee266bb563ebe2b659373a /Modules/BasicConfigVersion-SameMajorVersion.cmake.in
parent02b1e4b96a10b77e40dbc7f5e5d23ccd61a2b08b (diff)
downloadCMake-4ba09bc6a22ab9aa3f59b6804224e3f96159658d.zip
CMake-4ba09bc6a22ab9aa3f59b6804224e3f96159658d.tar.gz
CMake-4ba09bc6a22ab9aa3f59b6804224e3f96159658d.tar.bz2
Add some tests for write_basic_config_version_file()
Alex
Diffstat (limited to 'Modules/BasicConfigVersion-SameMajorVersion.cmake.in')
-rw-r--r--Modules/BasicConfigVersion-SameMajorVersion.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/BasicConfigVersion-SameMajorVersion.cmake.in b/Modules/BasicConfigVersion-SameMajorVersion.cmake.in
index b41ffba..f633ee8 100644
--- a/Modules/BasicConfigVersion-SameMajorVersion.cmake.in
+++ b/Modules/BasicConfigVersion-SameMajorVersion.cmake.in
@@ -12,6 +12,8 @@
set(PACKAGE_VERSION "@CVF_VERSION@")
+set(PACKAGE_VERSION_EXACT FALSE) # initialize to FALSE
+
# 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")