CMake: use XercesC_LIBRARIES to store debug and release version of xerces
This commit is contained in:
@@ -50,8 +50,9 @@ set (Qt5XmlPatterns_DIR ${Qt5_ROOT_DIR}/lib/cmake/Qt5XmlPatterns CACHE PATH "")
|
||||
|
||||
endif (BUILD_QT5)
|
||||
|
||||
find_library(XercesC_LIBRARIES xerces-c_3 "${FREECAD_LIBPACK_DIR}/lib")
|
||||
find_library(XercesC_DEBUG_LIBRARIES xerces-c_3D "${FREECAD_LIBPACK_DIR}/lib")
|
||||
find_library(XercesC_LIBRARY_RELEASE xerces-c_3 "${FREECAD_LIBPACK_DIR}/lib")
|
||||
find_library(XercesC_LIBRARY_DEBUG xerces-c_3D "${FREECAD_LIBPACK_DIR}/lib")
|
||||
set (XercesC_LIBRARIES debug ${XercesC_LIBRARY_DEBUG} optimized ${XercesC_LIBRARY_RELEASE})
|
||||
set(XercesC_FOUND TRUE)
|
||||
|
||||
find_library(COIN3D_LIBRARY_RELEASE coin4 "${FREECAD_LIBPACK_DIR}/lib")
|
||||
|
||||
@@ -20,8 +20,7 @@ include_directories(
|
||||
if(MSVC)
|
||||
set(FreeCADBase_LIBS
|
||||
${Boost_LIBRARIES}
|
||||
debug ${XercesC_DEBUG_LIBRARIES}
|
||||
optimized ${XercesC_LIBRARIES}
|
||||
${XercesC_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
debug MSVCRTD.LIB
|
||||
debug MSVCPRTD.LIB
|
||||
|
||||
Reference in New Issue
Block a user