Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Geant4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
LHCb
Geant4
Commits
cd95645a
Commit
cd95645a
authored
3 years ago
by
Marco Clemencic
Browse files
Options
Downloads
Patches
Plain Diff
Correctly propagate Geant4Files env variables to legacy Gauss
parent
cf3ce749
No related branches found
No related tags found
1 merge request
!79
"Modernize" CMake configuration
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/Modules/LHCbSettings.cmake
+19
-0
19 additions, 0 deletions
cmake/Modules/LHCbSettings.cmake
with
19 additions
and
0 deletions
cmake/Modules/LHCbSettings.cmake
+
19
−
0
View file @
cd95645a
...
...
@@ -74,6 +74,25 @@ if(GAUDI_LEGACY_CMAKE_SUPPORT)
if
(
NOT legacy_cmake_config_support
)
message
(
FATAL_ERROR
"GAUDI_LEGACY_CMAKE_SUPPORT set to TRUE, but cannot find LegacyGaudiCMakeSupport.cmake"
)
endif
()
# define environment variables to locate Geant4 data files
if
(
Geant4Files_FOUND
)
set_property
(
GLOBAL APPEND PROPERTY Geant4_ENVIRONMENT
DEFAULT G4DATA
${
GEANT4_INSTALL_DATADIR
}
SET G4LEVELGAMMADATA \
${
G4DATA
}
/PhotonEvaporation5.7
SET G4RADIOACTIVEDATA \
${
G4DATA
}
/RadioactiveDecay5.6
SET G4LEDATA \
${
G4DATA
}
/G4EMLOW7.13
SET G4NEUTRONHPDATA \
${
G4DATA
}
/G4NDL4.6
SET G4ABLADATA \
${
G4DATA
}
/G4ABLA3.1x
SET G4REALSURFACEDATA \
${
G4DATA
}
/RealSurface2.2
SET G4PIIDATA \
${
G4DATA
}
/G4PII1.3
SET G4ELASTICDATA \
${
G4DATA
}
/G4ELASTIC1.1
SET G4SAIDXSDATA \
${
G4DATA
}
/G4SAIDDATA2.0
SET G4ENSDFSTATEDATA \
${
G4DATA
}
/G4ENSDFSTATE2.3
SET G4PARTICLEXSDATA \
${
G4DATA
}
/G4PARTICLEXS3.1.1
SET G4INCLDATA \
${
G4DATA
}
/G4INCL1.0
)
endif
()
endif
()
# Note: this enables building of tests, but not the Geant4 ones (that require GEANT4_ENABLE_TESTING and GEANT4_BUILD_TESTS)
...
...
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