Browse Source

xerces-c macos fix for version 3.2.3 and newer

tempestpy_adaptions
Sebastian Junges 5 years ago
parent
commit
ec7198bf07
  1. 3
      resources/3rdparty/include_xerces.cmake

3
resources/3rdparty/include_xerces.cmake

@ -9,8 +9,9 @@ if(USE_XERCESC)
FIND_LIBRARY(CORESERVICES_LIBRARY CoreServices ) FIND_LIBRARY(CORESERVICES_LIBRARY CoreServices )
mark_as_advanced(COREFOUNDATION_LIBRARY) mark_as_advanced(COREFOUNDATION_LIBRARY)
mark_as_advanced(CORESERVICES_LIBRARY) mark_as_advanced(CORESERVICES_LIBRARY)
if(${XercesC_VERSION} VERSION_LESS 3.2.3)
string(REPLACE ".dylib" ".so" XercesC_LIBRARIES ${XercesC_LIBRARIES}) string(REPLACE ".dylib" ".so" XercesC_LIBRARIES ${XercesC_LIBRARIES})
endif()
endif() endif()

Loading…
Cancel
Save