summaryrefslogtreecommitdiff
path: root/Modules/FindXercesC.cmake
diff options
context:
space:
mode:
authorRoger Leigh <r.leigh@dundee.ac.uk>2015-07-13 12:00:12 +0100
committerRoger Leigh <r.leigh@dundee.ac.uk>2015-07-13 12:00:33 +0100
commit38ddabb194ec6b0ab19dcfac27378c6e91cbde02 (patch)
treed14b2155c82dd305b407e8c6dcc363ba9e487251 /Modules/FindXercesC.cmake
parentc8f46af11b43719281a375ef7841830756022d76 (diff)
downloadcmake-38ddabb194ec6b0ab19dcfac27378c6e91cbde02.tar.gz
FindXercesC: Also search for xerces-c_2 (#15648)
This is the previous stable release name used on Windows.
Diffstat (limited to 'Modules/FindXercesC.cmake')
-rw-r--r--Modules/FindXercesC.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindXercesC.cmake b/Modules/FindXercesC.cmake
index 984f1b9f6c..fd0b9926b8 100644
--- a/Modules/FindXercesC.cmake
+++ b/Modules/FindXercesC.cmake
@@ -62,7 +62,7 @@ find_path(XercesC_INCLUDE_DIR
mark_as_advanced(XercesC_INCLUDE_DIR)
# Find all XercesC libraries
-find_library(XercesC_LIBRARY NAMES "xerces-c" "xerces-c_3"
+find_library(XercesC_LIBRARY NAMES "xerces-c" "xerces-c_3" "xerces-c_2"
DOC "Xerces-C++ libraries")
mark_as_advanced(XercesC_LIBRARY)