Add some tests for write_basic_config_version_file()

Alex
This commit is contained in:
Alex Neundorf
2011-08-01 23:29:27 +02:00
parent 02b1e4b96a
commit 4ba09bc6a2
3 changed files with 84 additions and 0 deletions
@@ -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")