Bug correction in the version handling mechanism, adding the "Bit depth" parameter and promoting Michael Erza as developer in Authors.txt

This commit is contained in:
Hombre
2011-02-08 16:58:56 +01:00
parent 741bc647ff
commit 7c561d426f
5 changed files with 18 additions and 2 deletions

View File

@@ -128,6 +128,13 @@ find_package (PNG REQUIRED)
find_package (TIFF REQUIRED)
find_package (ZLIB REQUIRED)
# set the bit number information of the platform
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
set(PROC_BIT_DEPTH 32 bits)
elseif (CMAKE_SIZEOF_VOID_P EQUAL 8)
set(PROC_BIT_DEPTH 64 bits)
endif (CMAKE_SIZEOF_VOID_P EQUAL 4)
#generating AboutThisBuild.txt
if (WIN32)
include (About-Windows.cmake)