diff options
author | Brad King <brad.king@kitware.com> | 2011-03-14 19:34:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-03-14 19:34:26 (GMT) |
commit | c9d55ae5b9dceb90c735df72b7c487d0a75b2b62 (patch) | |
tree | 643f02b03d8a6430f2b7a74ab5f444aaff091615 /Source/cmTarget.cxx | |
parent | c6a8e4c71ad56df8f7de30bfed3a3d9d62419325 (diff) | |
download | CMake-c9d55ae5b9dceb90c735df72b7c487d0a75b2b62.zip CMake-c9d55ae5b9dceb90c735df72b7c487d0a75b2b62.tar.gz CMake-c9d55ae5b9dceb90c735df72b7c487d0a75b2b62.tar.bz2 |
Add parens in cmTarget::ComputeLinkInterface logic
Avoid GCC warning
warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
added by commit c6a8e4c7 (The link interface of MODULE libraries is
empty, 2011-03-09).
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index b5900c4..e8593a1 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -4284,7 +4284,7 @@ bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface) bool canLinkModules = this->Makefile->NeedBackwardsCompatibility(2,2); if(!explicitLibraries && (this->GetType() == cmTarget::EXECUTABLE || - this->GetType() == cmTarget::MODULE_LIBRARY && !canLinkModules)) + (this->GetType() == cmTarget::MODULE_LIBRARY && !canLinkModules))) { return false; } |