The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

27 lines
1.1 KiB

2 months ago
  1. if(USE_XERCESC)
  2. find_package(XercesC QUIET)
  3. if(XercesC_FOUND)
  4. message(STATUS "Storm - Use system version of xerces.")
  5. set(STORM_HAVE_XERCES ON)
  6. include_directories(${XercesC_INCLUDE_DIRS})
  7. if(APPLE)
  8. FIND_LIBRARY(COREFOUNDATION_LIBRARY CoreFoundation )
  9. FIND_LIBRARY(CORESERVICES_LIBRARY CoreServices )
  10. mark_as_advanced(COREFOUNDATION_LIBRARY)
  11. mark_as_advanced(CORESERVICES_LIBRARY)
  12. if(${XercesC_VERSION} VERSION_LESS 3.2.2)
  13. string(REPLACE ".dylib" ".so" XercesC_LIBRARIES ${XercesC_LIBRARIES})
  14. endif()
  15. endif()
  16. # find_package(CURL)
  17. message (STATUS "Storm (GSPN) - Linking with Xerces-c ${XercesC_VERSION}: ${XercesC_LIBRARIES}")
  18. list(APPEND STORM_GSPN_LINK_LIBRARIES ${XercesC_LIBRARIES} ${COREFOUNDATION_LIBRARY} ${CORESERVICES_LIBRARY} ${CURL_LIBRARIES})
  19. else()
  20. set(STORM_HAVE_XERCES OFF)
  21. message (STATUS "Storm - Building without Xerces disables parsing XML formats (for GSPNs)")
  22. endif()
  23. endif(USE_XERCESC)