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
93a09441
Commit
93a09441
authored
3 months ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
CMake: fix using Geant4 internal clhep
the target is now(?) prefixed with Geant4:: otherwise we get a linking error
parent
a39add61
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/DD4hepBuild.cmake
+5
-1
5 additions, 1 deletion
cmake/DD4hepBuild.cmake
with
5 additions
and
1 deletion
cmake/DD4hepBuild.cmake
+
5
−
1
View file @
93a09441
...
@@ -843,7 +843,11 @@ MACRO(DD4HEP_SETUP_GEANT4_TARGETS)
...
@@ -843,7 +843,11 @@ MACRO(DD4HEP_SETUP_GEANT4_TARGETS)
PROPERTIES
PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES
"
${
Geant4_INCLUDE_DIRS
}
"
INTERFACE_INCLUDE_DIRECTORIES
"
${
Geant4_INCLUDE_DIRS
}
"
)
)
TARGET_LINK_LIBRARIES
(
CLHEP::CLHEP INTERFACE G4clhep
)
if
(
TARGET Geant4::G4clhep
)
TARGET_LINK_LIBRARIES
(
CLHEP::CLHEP INTERFACE Geant4::G4clhep
)
else
()
TARGET_LINK_LIBRARIES
(
CLHEP::CLHEP INTERFACE G4clhep
)
endif
()
else
()
else
()
IF
(
NOT TARGET CLHEP::CLHEP
)
IF
(
NOT TARGET CLHEP::CLHEP
)
...
...
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