summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalCodeWarriorGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-12-18 18:17:36 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-12-18 18:17:36 (GMT)
commit72d8bd1e411d4f1f1bbe4146e91d66114e1c7110 (patch)
tree05b3674c5950ac9aa16459588f3a196f1beb3725 /Source/cmGlobalCodeWarriorGenerator.cxx
parentc3840b5cc3e26886bab16faf7e27a4ef80f3686d (diff)
downloadCMake-72d8bd1e411d4f1f1bbe4146e91d66114e1c7110.zip
CMake-72d8bd1e411d4f1f1bbe4146e91d66114e1c7110.tar.gz
CMake-72d8bd1e411d4f1f1bbe4146e91d66114e1c7110.tar.bz2
BUG: Fix Bug #445 - Same library in multiple projects can cause problems
Diffstat (limited to 'Source/cmGlobalCodeWarriorGenerator.cxx')
-rw-r--r--Source/cmGlobalCodeWarriorGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalCodeWarriorGenerator.cxx b/Source/cmGlobalCodeWarriorGenerator.cxx
index 91ff5b3..c37d2ee 100644
--- a/Source/cmGlobalCodeWarriorGenerator.cxx
+++ b/Source/cmGlobalCodeWarriorGenerator.cxx
@@ -229,7 +229,7 @@ void cmGlobalCodeWarriorGenerator::ComputeTargetOrder(
std::string libPath = j->first + "_CMAKE_PATH";
const char* cacheValue
= m_CMakeInstance->GetCacheDefinition(libPath.c_str());
- if(cacheValue)
+ if(cacheValue && *cacheValue)
{
// so add it to the tgtOrder vector if it isn't already there
// to do this we need the actual target