diff options
author | jpfeuffer <pfeuffer@informatik.uni-tuebingen.de> | 2022-01-25 11:45:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-25 13:30:21 (GMT) |
commit | 47cbc08594d03b1fa841fc5dadd5f3b0b9a4de63 (patch) | |
tree | f16236d61ba0489cd0c30a5d5d6da999646a0eb1 /Modules | |
parent | 25441f26171531ff114f3b9a6fad6ee2edc7ef29 (diff) | |
download | CMake-47cbc08594d03b1fa841fc5dadd5f3b0b9a4de63.zip CMake-47cbc08594d03b1fa841fc5dadd5f3b0b9a4de63.tar.gz CMake-47cbc08594d03b1fa841fc5dadd5f3b0b9a4de63.tar.bz2 |
FindXercesC: Use NAMES_PER_DIR
This was missing for us for Xerces.
Issue: #20882
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindXercesC.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindXercesC.cmake b/Modules/FindXercesC.cmake index af1b0b4..d39bbf6 100644 --- a/Modules/FindXercesC.cmake +++ b/Modules/FindXercesC.cmake @@ -91,11 +91,13 @@ if(NOT XercesC_LIBRARY) NAMES "xerces-c" "xerces-c_${XercesC_VERSION_MAJOR}" "xerces-c-${XercesC_VERSION_MAJOR}.${XercesC_VERSION_MINOR}" + NAMES_PER_DIR 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_PER_DIR DOC "Xerces-C++ libraries (debug)") include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) select_library_configurations(XercesC) |