Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
+16
View File
@@ -0,0 +1,16 @@
# - G4EXPATShim
#
# Geant4's Geant4Config.cmake file aims to support CMake 3.8 and newer
# The EXPAT dependency is located through CMake's builtin FindEXPAT
# module and linked through the EXPAT::EXPAT imported target.
# This target is however only available from CMake 3.10, so recreate
# EXPAT::EXPAT target if it does not exist
if(EXPAT_FOUND)
if(NOT TARGET EXPAT::EXPAT)
add_library(EXPAT::EXPAT UNKNOWN IMPORTED)
set_target_properties(EXPAT::EXPAT PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
IMPORTED_LOCATION "${EXPAT_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES "${EXPAT_INCLUDE_DIRS}")
endif()
endif()