Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
271a5672
Commit
271a5672
authored
6 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
DDG4: enable building with geant4 internal CLHEP
parent
a577fbc6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+5
-0
5 additions, 0 deletions
CMakeLists.txt
DDG4/CMakeLists.txt
+1
-1
1 addition, 1 deletion
DDG4/CMakeLists.txt
with
6 additions
and
1 deletion
CMakeLists.txt
+
5
−
0
View file @
271a5672
...
@@ -126,6 +126,11 @@ add_subdirectory(DDDetectors)
...
@@ -126,6 +126,11 @@ add_subdirectory(DDDetectors)
add_subdirectory
(
DDCond
)
add_subdirectory
(
DDCond
)
add_subdirectory
(
DDAlign
)
add_subdirectory
(
DDAlign
)
if
(
DD4HEP_USE_GEANT4
)
if
(
DD4HEP_USE_GEANT4
)
if
(
Geant4_builtin_clhep_FOUND
)
set
(
CLHEP
""
)
else
()
set
(
CLHEP CLHEP
)
endif
()
add_subdirectory
(
DDG4
)
add_subdirectory
(
DDG4
)
endif
()
endif
()
# Note the order: DDEve partially depends on variables from DDG4!
# Note the order: DDEve partially depends on variables from DDG4!
...
...
This diff is collapsed.
Click to expand it.
DDG4/CMakeLists.txt
+
1
−
1
View file @
271a5672
...
@@ -12,7 +12,7 @@ dd4hep_package( DDG4
...
@@ -12,7 +12,7 @@ dd4hep_package( DDG4
USES [GEANT4 REQUIRED COMPONENTS gdml ui_all vis_all]
USES [GEANT4 REQUIRED COMPONENTS gdml ui_all vis_all]
[ROOT REQUIRED COMPONENTS Geom GenVector RIO]
[ROOT REQUIRED COMPONENTS Geom GenVector RIO]
BOOST DDCore
BOOST DDCore
OPTIONAL CLHEP [XercesC QUIET]
OPTIONAL
${
CLHEP
}
[XercesC QUIET]
INCLUDE_DIRS include
INCLUDE_DIRS include
INSTALL_INCLUDES include/DDG4
)
INSTALL_INCLUDES include/DDG4
)
MESSAGE
(
STATUS
"CLHEP_LIBRARIES
${
CLHEP_LIBRARIES
}
${
CLHEP_LIBRARY
}
"
)
MESSAGE
(
STATUS
"CLHEP_LIBRARIES
${
CLHEP_LIBRARIES
}
${
CLHEP_LIBRARY
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment