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
34b29909
Commit
34b29909
authored
2 years ago
by
Riccardo Maria Bianchi
Browse files
Options
Downloads
Patches
Plain Diff
Fix HepMC3 support build
parent
fe0f558d
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
FullSimLight/CMakeLists.txt
+9
-0
9 additions, 0 deletions
FullSimLight/CMakeLists.txt
with
9 additions
and
0 deletions
FullSimLight/CMakeLists.txt
+
9
−
0
View file @
34b29909
...
@@ -141,6 +141,15 @@ file(GLOB headers ${PROJECT_SOURCE_DIR}/inc/*.hh)
...
@@ -141,6 +141,15 @@ file(GLOB headers ${PROJECT_SOURCE_DIR}/inc/*.hh)
#message("sources: ${sources}") # debug msg
#message("sources: ${sources}") # debug msg
# Remove from the build HepMC3-related sources if that is not found
# TODO: remove these lines and put pre-comp fences with 'USE_HEPMC3' def
if
(
NOT HepMC3_FOUND
)
file
(
GLOB hepmc3src
${
PROJECT_SOURCE_DIR
}
/src/HepMC3*.cc
)
#message("Removing those HepMC3-related sources: ${hepmc3src}") # debug msg
list
(
REMOVE_ITEM sources
${
hepmc3src
}
)
#message("new sources without HepMC3 support: ${sources}") # debug msg
endif
()
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
# Add the executable, and link it to the Geant4 libraries
# Add the executable, and link it to the Geant4 libraries
...
...
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