Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
5a655681
Commit
5a655681
authored
Aug 23, 2018
by
Kelly (KT) Thompson
Committed by
Brad King
Aug 24, 2018
Browse files
Cray: Record C++14 compiler mode options
Fixes:
#18270
parent
b2798594
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Compiler/Cray-CXX.cmake
View file @
5a655681
...
...
@@ -13,6 +13,10 @@ if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8.1)
if
(
NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.4
)
set
(
CMAKE_CXX11_STANDARD_COMPILE_OPTION -h std=c++11
)
set
(
CMAKE_CXX11_EXTENSION_COMPILE_OPTION -h std=c++11,gnu
)
endif
()
if
(
NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.6
)
set
(
CMAKE_CXX14_STANDARD_COMPILE_OPTION -h std=c++14
)
set
(
CMAKE_CXX14_EXTENSION_COMPILE_OPTION -h std=c++14,gnu
)
endif
()
endif
()
...
...
Brad King
@brad.king
mentioned in commit
826e7581
·
Aug 27, 2018
mentioned in commit
826e7581
mentioned in commit 826e75814bf12434b989e19b18cd458abe5d0120
Toggle commit list
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