Skip to content
Snippets Groups Projects
Commit f68ea78b authored by Marilena Bandieramonte's avatar Marilena Bandieramonte
Browse files

Remove dependency from XercesC

parent 7f414c98
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,6 @@ project( "GeoModel2G4" VERSION 1.0.0 LANGUAGES CXX ) ...@@ -10,7 +10,6 @@ project( "GeoModel2G4" VERSION 1.0.0 LANGUAGES CXX )
# External dependencies: # External dependencies:
find_package( Geant4 REQUIRED ) find_package( Geant4 REQUIRED )
find_package( CLHEP ) find_package( CLHEP )
find_package( XercesC )
# GeoModel dependencies # GeoModel dependencies
find_package( GeoModelCore REQUIRED ) find_package( GeoModelCore REQUIRED )
...@@ -44,9 +43,9 @@ include(${Geant4_USE_FILE}) ...@@ -44,9 +43,9 @@ include(${Geant4_USE_FILE})
# Set target and properties # Set target and properties
add_library( GeoModel2G4 SHARED ${HEADERS} ${SOURCES} ) add_library( GeoModel2G4 SHARED ${HEADERS} ${SOURCES} )
target_link_libraries( GeoModel2G4 target_link_libraries( GeoModel2G4
PUBLIC ${XERCESC_LIBRARIES} ${GEANT4_LIBRARIES} PUBLIC ${GEANT4_LIBRARIES}
PRIVATE ${CLHEP_LIBRARIES} GeoMaterial2G4 GeoModelUtilities ) PRIVATE ${CLHEP_LIBRARIES} GeoMaterial2G4 GeoModelUtilities )
target_include_directories( GeoModel2G4 SYSTEM PUBLIC ${XERCESC_INCLUDE_DIRS} ${GEANT4_INCLUDE_DIRS} PRIVATE ${CLHEP_INCLUDE_DIRS} ${GeoModelCore_INCLUDE_DIRS} ) target_include_directories( GeoModel2G4 SYSTEM PUBLIC ${GEANT4_INCLUDE_DIRS} PRIVATE ${CLHEP_INCLUDE_DIRS} ${GeoModelCore_INCLUDE_DIRS} )
target_include_directories( GeoModel2G4 PUBLIC target_include_directories( GeoModel2G4 PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include> ) $<INSTALL_INTERFACE:include> )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment