Skip to content
Snippets Groups Projects
DD4hep_XML_setup.cmake 270 B
Newer Older
Markus Frank's avatar
Markus Frank committed
if(DD4HEP_USE_XERCESC)
  find_package( XercesC REQUIRED )
Markus Frank's avatar
Markus Frank committed
  add_definitions(-DDD4HEP_USE_XERCESC)
  include_directories(SYSTEM ${XERCESC_INCLUDE_DIRS})
Markus Frank's avatar
Markus Frank committed
  set(XML_LIBRARIES ${XERCESC_LIBRARIES})
else()
  add_definitions(-DDD4HEP_USE_TINYXML)
  set(XML_LIBRARIES)
endif()