Created
July 9, 2014 12:07
-
-
Save tammojan/69062b9684da8ee3c5e7 to your computer and use it in GitHub Desktop.
Fix cmake check form xerces version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: CMakeLists.txt | |
=================================================================== | |
--- CMakeLists.txt (revision 30403) | |
+++ CMakeLists.txt (working copy) | |
@@ -993,8 +993,8 @@ | |
CPP_VERSION XERCES_FULLVERSIONDOT | |
RUN_VERSION "gXercesMajVersion << '.' << gXercesMinVersion << '.' << gXercesRevision" | |
) | |
-if( XERCES_VERSION VERSION_EQUAL 3.2 OR | |
- XERCES_VERSION VERSION_GREATER 3.2 ) | |
+if( XERCES_VERSION VERSION_EQUAL 3.0 OR | |
+ XERCES_VERSION VERSION_GREATER 3.0 ) | |
message( FATAL_ERROR "Xerces version (${XERCES_VERSION}) is too recent! Must be earlier than 3.0." ) | |
endif() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment