diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-18 03:35:05 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | 4e38f2af2b97850ec5b395d4e0ea8310e664e52f (patch) | |
tree | 8ed1659100304b264ecf28259977d1a26baeed4d | |
parent | 1a915d39651e6c8c43ebe8d27ed6e518bf03909c (diff) |
Fix defines no set
-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 + "\""; |