Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
a8cec4bf
Commit
a8cec4bf
authored
5 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
Cmake: ensure at least cxx 14
parent
6e20c060
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
CMakeLists.txt
+5
-1
5 additions, 1 deletion
CMakeLists.txt
with
5 additions
and
1 deletion
CMakeLists.txt
+
5
−
1
View file @
a8cec4bf
...
...
@@ -51,10 +51,14 @@ ENDIF()
ENABLE_LANGUAGE
(
CXX
)
# Set C++ standard
set
(
CMAKE_CXX_STANDARD 1
1
CACHE STRING
"C++ standard used for compiling"
)
set
(
CMAKE_CXX_STANDARD 1
4
CACHE STRING
"C++ standard used for compiling"
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
CMAKE_CXX_EXTENSIONS OFF
)
IF
(
${
CMAKE_CXX_STANDARD
}
LESS 14
)
MESSAGE
(
FATAL_ERROR
"DD4hep requires at least CXX Standard 14 to compile"
)
ENDIF
()
###############################
# Define DD4hep build options #
###############################
...
...
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