The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15648 ====================================================================== Reported By: Martin Baute Assigned To: ====================================================================== Project: CMake Issue ID: 15648 Category: Modules Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-07-13 04:38 EDT Last Modified: 2015-07-13 04:38 EDT ====================================================================== Summary: FindXercesC.cmake does not work on Windows Description: The FindXercesC module shipping with CMake is rather simple. It looks for the Xerces-C library using this line:
find_library( XercesC_LIBRARY "xerces-c" DOC "Xerces-C++ libraries" ) This does not work on Windows -- here, the Xerces-C library is named xerces-c_3.lib (or ...-c_3D.lib for the debug build), making FindXercesC.cmake fail with "XercesC_LIBRARY-NOTFOUND". Suggested fix would be using this line: find_library( XercesC_LIBRARY NAMES xerces-c xerces-c_3 xerces-c_2 DOC "Xerces-C++ libraries" ) ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-07-13 04:38 Martin Baute New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers