Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Create imported target to help use VecGeom (a mess because the VecGeomConfig is...)
|
||||
if(VecGeom_FOUND)
|
||||
if(NOT TARGET VecGeom::VecGeom)
|
||||
add_library(VecGeom::VecGeom UNKNOWN IMPORTED)
|
||||
if(NOT TARGET VecGeom::vecgeom)
|
||||
add_library(VecGeom::vecgeom UNKNOWN IMPORTED)
|
||||
# VecGeom's config file is awful, so the following is neccessary...
|
||||
foreach(__vglib ${VECGEOM_LIBRARIES})
|
||||
if(__vglib MATCHES ".*libvecgeom\.(a|so|dylib|lib|dll)$")
|
||||
@@ -10,7 +10,7 @@ if(VecGeom_FOUND)
|
||||
endforeach()
|
||||
|
||||
string(REGEX REPLACE "^\-D|;-D" ";" VECGEOM_COMPILE_DEFINITIONS "${VECGEOM_DEFINITIONS}")
|
||||
set_target_properties(VecGeom::VecGeom PROPERTIES
|
||||
set_target_properties(VecGeom::vecgeom PROPERTIES
|
||||
INTERFACE_COMPILE_DEFINITIONS "${VECGEOM_COMPILE_DEFINITIONS}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${VECGEOM_INCLUDE_DIRS}"
|
||||
INTERFACE_LINK_LIBRARIES "${VECGEOM_LIBRARIES}"
|
||||
|
||||
Reference in New Issue
Block a user