Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
8304581a
Commit
8304581a
authored
Apr 18, 2016
by
Lynn Garren
Browse files
anything less than clang 3.5 is unsupported
parent
a621d8dd
Changes
1
Show whitespace changes
Inline
Side-by-side
cmake/Modules/ClhepVariables.cmake
View file @
8304581a
...
...
@@ -88,8 +88,8 @@ endmacro( clhep_autoconf_variables )
macro
(
_clhep_verify_cxx11
)
if
(
${
CMAKE_CXX_COMPILER_ID
}
STREQUAL
"Clang"
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.
3
)
message
(
FATAL_ERROR
"
c++11 extension is not available for
${
CMAKE_CXX_COMPILER_ID
}
${
CMAKE_CXX_COMPILER_VERSION
}
"
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.
5
)
message
(
FATAL_ERROR
"
CLHEP now requires c++11 support with clang 3.5 or later
"
)
else
()
set
(
HAVE_STDCXX true
)
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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