diff options
author | Brad King <brad.king@kitware.com> | 2016-06-03 14:45:40 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-06-03 14:45:40 (GMT) |
commit | 811831a958c91404193cc0a35d2d90f8351eb51c (patch) | |
tree | 589c888e14f727eb48adb6f0fa7f3f83cace3f65 /Source/cmExtraCodeLiteGenerator.cxx | |
parent | 8b289db739c8d0a288e532c560b6dbcf4bd67c30 (diff) | |
parent | 7f6b8d3399dd841b0d29bf74d2b31021738c4ef8 (diff) | |
download | CMake-811831a958c91404193cc0a35d2d90f8351eb51c.zip CMake-811831a958c91404193cc0a35d2d90f8351eb51c.tar.gz CMake-811831a958c91404193cc0a35d2d90f8351eb51c.tar.bz2 |
Merge topic 'simplify-boolean-expressions'
7f6b8d33 Simplify boolean expressions
Diffstat (limited to 'Source/cmExtraCodeLiteGenerator.cxx')
-rw-r--r-- | Source/cmExtraCodeLiteGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraCodeLiteGenerator.cxx b/Source/cmExtraCodeLiteGenerator.cxx index ba58767..dd10b65 100644 --- a/Source/cmExtraCodeLiteGenerator.cxx +++ b/Source/cmExtraCodeLiteGenerator.cxx @@ -407,7 +407,7 @@ std::string cmExtraCodeLiteGenerator::GetCodeLiteCompilerName( // figure out which language to use // for now care only for C and C++ std::string compilerIdVar = "CMAKE_CXX_COMPILER_ID"; - if (this->GlobalGenerator->GetLanguageEnabled("CXX") == false) { + if (!this->GlobalGenerator->GetLanguageEnabled("CXX")) { compilerIdVar = "CMAKE_C_COMPILER_ID"; } |