Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
0d30731b
Commit
0d30731b
authored
Apr 18, 2016
by
Lynn Garren
Browse files
require at least gcc 4.8
parent
5c2f70be
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/Modules/ClhepVariables.cmake
View file @
0d30731b
...
...
@@ -119,10 +119,8 @@ macro( _clhep_verify_cxx11 )
set
(
HAVE_STDCXX true
)
endif
()
elseif
(
CMAKE_COMPILER_IS_GNUCXX
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7
)
message
(
FATAL_ERROR
"c++11 extension is not available for
${
CMAKE_CXX_COMPILER
}
"
)
elseif
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8
)
message
(
FATAL_ERROR
"CLHEP now requires gcc 4.8 or later"
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8
)
message
(
FATAL_ERROR
"CLHEP now requires c++11 support with gcc 4.8 or later"
)
else
()
set
(
HAVE_STDCXX true
)
endif
()
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment