Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fixed cmake/doxygen errors on old systems.
authorChristian Heinrich <christian.heinrich@livando.com>
Tue, 6 Jan 2015 18:10:28 +0000 (19:10 +0100)
committerChristian Heinrich <christian.heinrich@livando.com>
Tue, 6 Jan 2015 18:10:28 +0000 (19:10 +0100)
commitbca34544d743e984cc9a66edc89df4c7b9905bff
tree182696cc958b605f79925358c04bab7f9f789147
parent466ff3342641c55771c2eea2a46ec476e42579eb
Fixed cmake/doxygen errors on old systems.

cmake 2.8.7 on Ubuntu 12.04 LTS does not support the
DOXYGEN_VERSION variable, hence documentation can never be
built as this variable is required.

The added code checks whether the DOXYGEN_EXECUTABLE
is set and executes doxygen --version itself; hence
making this variable available.

Tested on Ubuntu 12.04 LTS.
buildtools/Cmake/GenerateDoc.cmake