[Greater-commits] r212 - trunk/Administration
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Jun 20 13:49:07 CEST 2011
Author: bricks
Date: 2011-06-20 13:49:07 +0200 (Mon, 20 Jun 2011)
New Revision: 212
Modified:
trunk/Administration/CMakeLists.txt
Log:
Check for xerces-c version 2.8
3.X version doesn't ship a xercesc/dom/DOMWriter.hpp header
and therefore it is incompatible with greater admintool
Modified: trunk/Administration/CMakeLists.txt
===================================================================
--- trunk/Administration/CMakeLists.txt 2011-06-20 11:47:29 UTC (rev 211)
+++ trunk/Administration/CMakeLists.txt 2011-06-20 11:49:07 UTC (rev 212)
@@ -35,6 +35,9 @@
FIND_PACKAGE(wxWidgets 2.8.0 REQUIRED adv core base)
FIND_PACKAGE(XercesC 2.8.0 REQUIRED)
+IF (${XERCESC_VERSION} GREATER 2.8)
+ MESSAGE(SEND_ERROR "Xerces-C version newer then 2.8 is not supported")
+ENDIF(${XERCESC_VERSION} GREATER 2.8)
FIND_PACKAGE(Dagreater_pg REQUIRED)
include( ${wxWidgets_USE_FILE} )
More information about the Greater-commits
mailing list