Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GeoModel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GeoModelDev
GeoModel
Commits
d2b92c61
Commit
d2b92c61
authored
2 years ago
by
Riccardo Maria Bianchi
Browse files
Options
Downloads
Patches
Plain Diff
Link to HepMC3 if it is used/enabled
parent
81bf9cdd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!187
Fix issue with HEPMC3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
FullSimLight/CMakeLists.txt
+20
-11
20 additions, 11 deletions
FullSimLight/CMakeLists.txt
with
20 additions
and
11 deletions
FullSimLight/CMakeLists.txt
+
20
−
11
View file @
d2b92c61
...
...
@@ -203,17 +203,26 @@ target_link_libraries(fillHistogramExample ${Geant4_LIBRARIES})
#target_link_libraries(plotGeantinoMaps ${ROOT_LIBRARIES})
target_link_libraries
(
gmclash PUBLIC GeoModel2G4
${
Geant4_LIBRARIES
}
${
HEPMC3_LIB
}
)
target_link_libraries
(
gmmasscalc PUBLIC GeoModel2G4
${
Geant4_LIBRARIES
}
${
HEPMC3_LIB
}
)
target_link_libraries
(
fullSimLight PUBLIC GeoModel2G4
${
Geant4_LIBRARIES
}
${
HEPMC3_LIB
}
)
target_link_libraries
(
gmgeantino PUBLIC GeoModel2G4
${
Geant4_LIBRARIES
}
${
HEPMC3_LIB
}
)
target_link_libraries
(
gm2gdml PUBLIC GeoModel2G4
${
Geant4_LIBRARIES
}
${
HEPMC3_LIB
}
)
target_include_directories
(
gmclash PUBLIC
${
HEPMC3_INCLUDE_DIR
}
)
target_include_directories
(
gmmasscalc PUBLIC
${
HEPMC3_INCLUDE_DIR
}
)
target_include_directories
(
fullSimLight PUBLIC
${
HEPMC3_INCLUDE_DIR
}
)
target_include_directories
(
gmgeantino PUBLIC
${
HEPMC3_INCLUDE_DIR
}
)
target_include_directories
(
gm2gdml PUBLIC
${
HEPMC3_INCLUDE_DIR
}
)
target_link_libraries
(
gmclash PUBLIC GeoModel2G4
${
Geant4_LIBRARIES
}
)
target_link_libraries
(
gmmasscalc PUBLIC GeoModel2G4
${
Geant4_LIBRARIES
}
)
target_link_libraries
(
fullSimLight PUBLIC GeoModel2G4
${
Geant4_LIBRARIES
}
)
target_link_libraries
(
gmgeantino PUBLIC GeoModel2G4
${
Geant4_LIBRARIES
}
)
target_link_libraries
(
gm2gdml PUBLIC GeoModel2G4
${
Geant4_LIBRARIES
}
)
if
(
HepMC3_FOUND
)
target_link_libraries
(
gmclash PUBLIC GeoModel2G4
${
HEPMC3_LIB
}
)
target_link_libraries
(
gmmasscalc PUBLIC GeoModel2G4
${
HEPMC3_LIB
}
)
target_link_libraries
(
fullSimLight PUBLIC GeoModel2G4
${
HEPMC3_LIB
}
)
target_link_libraries
(
gmgeantino PUBLIC GeoModel2G4
${
HEPMC3_LIB
}
)
target_link_libraries
(
gm2gdml PUBLIC GeoModel2G4
${
HEPMC3_LIB
}
)
target_include_directories
(
gmclash PUBLIC
${
HEPMC3_INCLUDE_DIR
}
)
target_include_directories
(
gmmasscalc PUBLIC
${
HEPMC3_INCLUDE_DIR
}
)
target_include_directories
(
fullSimLight PUBLIC
${
HEPMC3_INCLUDE_DIR
}
)
target_include_directories
(
gmgeantino PUBLIC
${
HEPMC3_INCLUDE_DIR
}
)
target_include_directories
(
gm2gdml PUBLIC
${
HEPMC3_INCLUDE_DIR
}
)
endif
()
# Check if we are building FullSimLight individually,
# or as a part of the main GeoModel.
...
...
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