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
dba2e25e
Commit
dba2e25e
authored
6 years ago
by
Marco Clemencic
Committed by
Dmitry Popov
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Set OpenGL_GL_PREFERENCE to silence CMake CMP0072 warning
parent
d6eac53f
No related branches found
No related tags found
1 merge request
!43
Release of v104r3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Geant4/G4config/CMakeLists.txt
+3
-0
3 additions, 0 deletions
Geant4/G4config/CMakeLists.txt
with
3 additions
and
0 deletions
Geant4/G4config/CMakeLists.txt
+
3
−
0
View file @
dba2e25e
...
@@ -38,6 +38,8 @@ endif()
...
@@ -38,6 +38,8 @@ endif()
set
(
GEANT4_TAG
${
GEANT4_TAG
}
CACHE STRING
"Tag of Geant4 to get from the Geant4-srcs repository"
)
set
(
GEANT4_TAG
${
GEANT4_TAG
}
CACHE STRING
"Tag of Geant4 to get from the Geant4-srcs repository"
)
set
(
OpenGL_GL_PREFERENCE
"GLVND"
CACHE STRING
"Preferred GL library to use (see https://cmake.org/cmake/help/v3.12/policy/CMP0072.html)"
)
include
(
ExternalProject
)
include
(
ExternalProject
)
ExternalProject_Add
(
Geant4
ExternalProject_Add
(
Geant4
...
@@ -64,6 +66,7 @@ ExternalProject_Add(Geant4
...
@@ -64,6 +66,7 @@ ExternalProject_Add(Geant4
# -DLCG_USE_NATIVE_COMPILER=${LCG_USE_NATIVE_COMPILER}
# -DLCG_USE_NATIVE_COMPILER=${LCG_USE_NATIVE_COMPILER}
-DCMAKE_MODULE_PATH=
${
Geant4Files_DIR
}
-DCMAKE_MODULE_PATH=
${
Geant4Files_DIR
}
-DGEANT4_INSTALL_EXAMPLES=OFF
-DGEANT4_INSTALL_EXAMPLES=OFF
-DOpenGL_GL_PREFERENCE=
${
OpenGL_GL_PREFERENCE
}
)
)
# Hardcoded list of external packages used by Geant4, needed to prepare the
# Hardcoded list of external packages used by Geant4, needed to prepare the
...
...
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