diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ninja/Ninja.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index ded7b28..0fe222b 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -127,14 +127,14 @@ namespace backend case Compiler::MINGW_W64: case Compiler::GCC: { - if(value.empty()) + if(!value.empty()) return "'-D" + name + "=" + value + "'"; else return "'-D" + name + "'"; } case Compiler::MSVC: { - if(value.empty()) + if(!value.empty()) return "\"/D" + name + "=" + value + "\""; else return "\"/D" + name + "\""; |