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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb
Geant4
Commits
d51fe79c
Commit
d51fe79c
authored
Jan 21, 2022
by
Marco Clemencic
Committed by
Dmitry Popov
Jan 31, 2022
Browse files
Options
Downloads
Patches
Plain Diff
Allow include of G4 headers with or without 'Geant4/' prefix
parent
ab70cf05
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+5
-0
5 additions, 0 deletions
CMakeLists.txt
with
5 additions
and
0 deletions
CMakeLists.txt
+
5
−
0
View file @
d51fe79c
...
...
@@ -7,6 +7,11 @@ find_package(GaudiProject)
gaudi_project
(
Geant4 v106r2p4
DATA Geant4Files VERSION
${
GEANT4FILES_VERSION
}
)
# Compatibility with standard Geant4 installation
file
(
APPEND
"
${
CMAKE_CONFIG_OUTPUT_DIRECTORY
}
/
${
CMAKE_PROJECT_NAME
}
PlatformConfig.cmake"
"
\n
set(
${
CMAKE_PROJECT_NAME
}
_INCLUDE_DIRS
\$
{_dir}/include/Geant4
\$
{
${
CMAKE_PROJECT_NAME
}
_INCLUDE_DIRS})
\n
"
)
# FIXME: hack for compatibility with CMT build
file
(
WRITE
${
CMAKE_BINARY_DIR
}
/dummy.cpp
""
)
link_directories
(
${
CMAKE_INSTALL_PREFIX
}
/lib
)
...
...
...
...
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
sign in
to comment