summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/SunPro-CXX.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-02-04 22:26:11 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-04 23:28:07 (GMT)
commit72537e4436a17535af5424628adef3b614a61679 (patch)
tree11de43e3e99ce78e6cb38967f8e92fef983f71f6 /Modules/Compiler/SunPro-CXX.cmake
parent82c9d6868b87a964214a468cae816642950e70b6 (diff)
downloadCMake-72537e4436a17535af5424628adef3b614a61679.zip
CMake-72537e4436a17535af5424628adef3b614a61679.tar.gz
CMake-72537e4436a17535af5424628adef3b614a61679.tar.bz2
Features: Add dialect compile flags only if default is known.
The CMAKE_<LANG>_STANDARD_DEFAULT variable indicates whether the compiler has any notion of standard levels and that CMake knows about them. If no language standard levels are available, skip all logic to attempt to add a flag for the level. Also fail with an internal error if a bad default value is set.
Diffstat (limited to 'Modules/Compiler/SunPro-CXX.cmake')
0 files changed, 0 insertions, 0 deletions