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
4bc172b2
Commit
4bc172b2
authored
5 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
Move find_package geant4 etc to base cmake lists to all the CLHEP variables are in global scope
parent
2503bb98
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+6
-0
6 additions, 0 deletions
CMakeLists.txt
DDG4/CMakeLists.txt
+0
-3
0 additions, 3 deletions
DDG4/CMakeLists.txt
with
6 additions
and
3 deletions
CMakeLists.txt
+
6
−
0
View file @
4bc172b2
...
...
@@ -114,6 +114,12 @@ IF(DD4HEP_USE_LCIO)
DD4HEP_SETUP_LCIO_TARGETS
()
ENDIF
()
IF
(
DD4HEP_USE_GEANT4
)
find_package
(
Geant4 10.2.2 REQUIRED COMPONENTS gdml ui_all vis_all
)
DD4HEP_SETUP_GEANT4_TARGETS
()
endif
()
######################
# Set compiler flags #
######################
...
...
This diff is collapsed.
Click to expand it.
DDG4/CMakeLists.txt
+
0
−
3
View file @
4bc172b2
...
...
@@ -14,9 +14,6 @@ IF(NOT DD4HEP_USE_GEANT4)
RETURN
()
ENDIF
()
find_package
(
Geant4 10.2.2 REQUIRED COMPONENTS gdml ui_all vis_all
)
DD4HEP_SETUP_GEANT4_TARGETS
()
# dd4hep_package( DDG4
# USES [GEANT4 REQUIRED COMPONENTS gdml ui_all vis_all]
# [ROOT REQUIRED COMPONENTS Geom GenVector RIO]
...
...
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