Use single variable for expected Doxygen version
[alexxy/gromacs.git] / docs / doxygen / RunDoxygen.cmake.cmakein
index 333f9253100e0b2e6f0d3ac32f3a76b105cf888c..d7910d366dade7af7c2e6612a76978ba6c0c585a 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2013,2014, by the GROMACS development team, led by
+# Copyright (c) 2013,2014,2015, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
@@ -36,7 +36,7 @@ set(DOXYGEN_EXECUTABLE   "@DOXYGEN_EXECUTABLE@")
 set(DOXYGEN_VERSION      "@DOXYGEN_VERSION@")
 set(DOXYGEN_MSCGEN_FOUND @DOXYGEN_MSCGEN_FOUND@)
 
-set(EXPECTED_VERSION 1.8.5)
+set(EXPECTED_VERSION     "@EXPECTED_DOXYGEN_VERSION@")
 
 if (NOT DOXYGEN_VERSION VERSION_EQUAL EXPECTED_VERSION)
     message("NOTE: You are using Doxygen version ${DOXYGEN_VERSION}. "