summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/GNU-CXX.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-11 15:14:26 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-15 21:13:22 (GMT)
commitbfc995cc3b8834281ee86ea2ed248b041d5ad1be (patch)
tree3d8a8c530c0e91beae6b5ba0d5552248156351e9 /Modules/Compiler/GNU-CXX.cmake
parent1532b9214f79517fe74dc674939601c75f4af300 (diff)
downloadCMake-bfc995cc3b8834281ee86ea2ed248b041d5ad1be.zip
CMake-bfc995cc3b8834281ee86ea2ed248b041d5ad1be.tar.gz
CMake-bfc995cc3b8834281ee86ea2ed248b041d5ad1be.tar.bz2
Features: Remove wrong content from else() condition.
As this is not elseif(), the content has no effect. Rather than changing it to an elseif(), remove the conditional content. All versions of GNU prior to 5.0 default to C90/89. Clang-C.cmake has a similar code block which correctly uses elseif() for setting the default C dialect to C99. That may have been updated from a C90 default at some point, so leave the version condition there in place for now.
Diffstat (limited to 'Modules/Compiler/GNU-CXX.cmake')
0 files changed, 0 insertions, 0 deletions