diff options
author | Brad King <brad.king@kitware.com> | 2022-01-26 13:02:48 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-01-26 13:03:16 (GMT) |
commit | e2035fb0f953e196e931b67f565d71607fbf3abd (patch) | |
tree | db5df0d81572d884f7478c4a8a42500da3c91df0 /Modules | |
parent | a600b9207ec71921a6398b785b03d909713d396f (diff) | |
parent | 47cbc08594d03b1fa841fc5dadd5f3b0b9a4de63 (diff) | |
download | CMake-e2035fb0f953e196e931b67f565d71607fbf3abd.zip CMake-e2035fb0f953e196e931b67f565d71607fbf3abd.tar.gz CMake-e2035fb0f953e196e931b67f565d71607fbf3abd.tar.bz2 |
Merge topic 'FindXercesC-NAMES_PER_DIR'
47cbc08594 FindXercesC: Use NAMES_PER_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6898
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) |