Warning, /DD4hep/cmake/DD4hep_XML_setup.cmake is written in an unsupported language. File is not indexed.
0001 if(DD4HEP_USE_XERCESC)
0002 find_package( XercesC REQUIRED )
0003 set_target_properties(XercesC::XercesC
0004 PROPERTIES
0005 COMPILE_DEFINITIONS DD4HEP_USE_XERCESC
0006 INTERFACE_COMPILE_DEFINITIONS DD4HEP_USE_XERCESC
0007 )
0008 set(XML_LIBRARIES XercesC::XercesC)
0009 else()
0010 set(DD4HEP_USE_XERCESC OFF)
0011 IF(NOT TARGET TinyXML AND NOT TARGET DD4hep::TinyXML)
0012 ADD_LIBRARY(TinyXML INTERFACE)
0013 ADD_LIBRARY(DD4hep::TinyXML ALIAS TinyXML)
0014 TARGET_COMPILE_DEFINITIONS(TinyXML INTERFACE DD4HEP_USE_TINYXML)
0015 INSTALL(TARGETS TinyXML EXPORT DD4hep DESTINATION lib)
0016 ENDIF()
0017 set(XML_LIBRARIES DD4hep::TinyXML)
0018 endif()