summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPWriter.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-10 21:23:00 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-10 21:23:00 (GMT)
commit69b51cc2454e80d1da483d48f7ba4d5a32fc8a07 (patch)
treecdfa24baeb8220f048e3a395238b49292a4623c7 /Source/cmDSPWriter.cxx
parente5394324954f0f6d0358fa360b3adc18ea541c94 (diff)
downloadCMake-69b51cc2454e80d1da483d48f7ba4d5a32fc8a07.zip
CMake-69b51cc2454e80d1da483d48f7ba4d5a32fc8a07.tar.gz
CMake-69b51cc2454e80d1da483d48f7ba4d5a32fc8a07.tar.bz2
BUG: fix up gui with values that stay around too long
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r--Source/cmDSPWriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx
index fba87f5..443732c 100644
--- a/Source/cmDSPWriter.cxx
+++ b/Source/cmDSPWriter.cxx
@@ -461,7 +461,7 @@ void cmDSPMakefile::WriteDSPHeader(std::ostream& fout, const char *libName,
{
// add libraries to executables and dlls (but never include
// a library in a library, bad recursion)
- if (!target.GetType() == cmTarget::LIBRARY ||
+ if (!(target.GetType() == cmTarget::LIBRARY) ||
(m_LibraryBuildType == DLL && libName != j->first))
{
std::string lib = j->first;