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
cf3ce749
Commit
cf3ce749
authored
3 years ago
by
Marco Clemencic
Browse files
Options
Downloads
Patches
Plain Diff
Fix Geant4.xenv generation for legacy CMake compatibility
parent
5a3d780c
No related branches found
No related tags found
1 merge request
!79
"Modernize" CMake configuration
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+2
-0
2 additions, 0 deletions
CMakeLists.txt
source/lhcb/Geant4.xenv
+7
-0
7 additions, 0 deletions
source/lhcb/Geant4.xenv
with
9 additions
and
0 deletions
CMakeLists.txt
+
2
−
0
View file @
cf3ce749
...
...
@@ -57,7 +57,9 @@ if(GAUDI_LEGACY_CMAKE_SUPPORT)
# This is to match Geant4 install layout
install
(
FILES
${
PROJECT_BINARY_DIR
}
/.metadata.cmake
${
PROJECT_SOURCE_DIR
}
/source/lhcb/Geant4.xenv
DESTINATION
${
GEANT4_CMAKE_DIR
}
COMPONENT Development
)
message
(
STATUS
"GEANT4_CMAKE_DIR ->
${
GEANT4_CMAKE_DIR
}
"
)
endif
()
This diff is collapsed.
Click to expand it.
source/lhcb/Geant4.xenv
0 → 100644
+
7
−
0
View file @
cf3ce749
<?xml version="1.0" encoding="UTF-8"?>
<env:config
xmlns:env=
"EnvSchema"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"EnvSchema EnvSchema.xsd "
>
<env:include>
../../Geant4.xenv
</env:include>
<env:prepend
variable=
"PATH"
>
${.}/../../bin
</env:prepend>
<env:prepend
variable=
"LD_LIBRARY_PATH"
>
${.}/..
</env:prepend>
<env:prepend
variable=
"ROOT_INCLUDE_PATH"
>
${.}/../../include
</env:prepend>
</env:config>
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