diff options
author | Roger Leigh <rleigh@codelibre.net> | 2020-05-23 14:56:01 (GMT) |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2020-05-23 15:03:53 (GMT) |
commit | b59c127df26fe65a46311cf0a825064a030ef412 (patch) | |
tree | 2716f41f6524838ac6969aa452f70ad9cddaaee6 | |
parent | eac593ea9f929ec4f51f8c6b707414fef3cc0ad5 (diff) | |
download | CMake-b59c127df26fe65a46311cf0a825064a030ef412.zip CMake-b59c127df26fe65a46311cf0a825064a030ef412.tar.gz CMake-b59c127df26fe65a46311cf0a825064a030ef412.tar.bz2 |
FindXercesC: Find Cygwin libraries
-rw-r--r-- | Modules/FindXercesC.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Modules/FindXercesC.cmake b/Modules/FindXercesC.cmake index 47bfd62..db78b61 100644 --- a/Modules/FindXercesC.cmake +++ b/Modules/FindXercesC.cmake @@ -81,10 +81,14 @@ endif() if(NOT XercesC_LIBRARY) # Find all XercesC libraries find_library(XercesC_LIBRARY_RELEASE - NAMES "xerces-c" "xerces-c_${XercesC_VERSION_MAJOR}" + NAMES "xerces-c" + "xerces-c_${XercesC_VERSION_MAJOR}" + "xerces-c-${XercesC_VERSION_MAJOR}.${XercesC_VERSION_MINOR}" DOC "Xerces-C++ libraries (release)") find_library(XercesC_LIBRARY_DEBUG - NAMES "xerces-cd" "xerces-c_${XercesC_VERSION_MAJOR}D" "xerces-c_${XercesC_VERSION_MAJOR}_${XercesC_VERSION_MINOR}D" + NAMES "xerces-cd" + "xerces-c_${XercesC_VERSION_MAJOR}D" + "xerces-c_${XercesC_VERSION_MAJOR}_${XercesC_VERSION_MINOR}D" DOC "Xerces-C++ libraries (debug)") include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) select_library_configurations(XercesC) |