Created
December 13, 2011 16:21
-
-
Save casallas/1472746 to your computer and use it in GitHub Desktop.
libcitygml finds only xerces-3, make it find xerces-3.1 as well
This file contains 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
diff --git a/CMakeModules/FindXerces.cmake b/CMakeModules/FindXerces.cmake | |
index c292ffb..499fbf5 100644 | |
--- a/CMakeModules/FindXerces.cmake | |
+++ b/CMakeModules/FindXerces.cmake | |
@@ -18,13 +18,13 @@ ${XERCESC_INCLUDE_DIR} | |
PATH_SUFFIXES xercesc | |
) | |
-FIND_LIBRARY(XERCESC_LIBRARY NAMES xerces-c_3 | |
+FIND_LIBRARY(XERCESC_LIBRARY NAMES xerces-c_3 xerces-c_3.1 | |
PATHS | |
$ENV{XERCESC_LIBRARY_DIR} | |
${XERCESC_LIBRARY_DIR} | |
) | |
- FIND_LIBRARY(XERCESC_LIBRARY_DEBUG NAMES xerces-c_3D | |
+ FIND_LIBRARY(XERCESC_LIBRARY_DEBUG NAMES xerces-c_3D xerces-c_3.1D | |
PATHS | |
$ENV{XERCESC_LIBRARY_DIR} | |
${XERCESC_LIBRARY_DIR} | |
@@ -74,4 +74,4 @@ ELSE(XERCESC_FOUND) | |
MESSAGE(FATAL_ERROR "Could not find Xerces-C !") | |
ENDIF(XERCESC_FOUND) | |
-MARK_AS_ADVANCED(XERCESC_INCLUDE XERCESC_LIBRARY) | |
\ No newline at end of file | |
+MARK_AS_ADVANCED(XERCESC_INCLUDE XERCESC_LIBRARY) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment