summaryrefslogtreecommitdiffstats
path: root/Source/cmSetTestsPropertiesCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-12-07 21:31:56 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-12-07 21:31:56 (GMT)
commit2ad2566d198f7094bb82e5570f77afe2cc179a20 (patch)
treef35697eefeb0b71a428bdbd11c302dc10c44e2a5 /Source/cmSetTestsPropertiesCommand.cxx
parenta47820ca86f1bf31a007eb530ccacce5f40bd631 (diff)
downloadCMake-2ad2566d198f7094bb82e5570f77afe2cc179a20.zip
CMake-2ad2566d198f7094bb82e5570f77afe2cc179a20.tar.gz
CMake-2ad2566d198f7094bb82e5570f77afe2cc179a20.tar.bz2
BUG: fix bad comparison
Diffstat (limited to 'Source/cmSetTestsPropertiesCommand.cxx')
-rw-r--r--Source/cmSetTestsPropertiesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSetTestsPropertiesCommand.cxx b/Source/cmSetTestsPropertiesCommand.cxx
index 269ef78..0d4c3fc 100644
--- a/Source/cmSetTestsPropertiesCommand.cxx
+++ b/Source/cmSetTestsPropertiesCommand.cxx
@@ -109,7 +109,7 @@ bool cmSetTestsPropertiesCommand
for ( it = tests.begin(); it != tests.end(); ++ it )
{
cmTest* test = *it;
- if ( test->GetName() == tname )
+ if ( !strcmp(test->GetName(),tname ))
{
// now loop through all the props and set them
for (k = 0; k < propertyPairs.size(); k = k + 2)