diff options
Diffstat (limited to 'Source/cmGlobalCodeWarriorGenerator.cxx')
-rw-r--r-- | Source/cmGlobalCodeWarriorGenerator.cxx | 2 |
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 |