diff options
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 07e0337..e302718 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -534,7 +534,7 @@ void cmGlobalVisualStudio7Generator::WriteProjectDepends(std::ostream& fout, std::string libPath = j->first + "_CMAKE_PATH"; const char* cacheValue = m_CMakeInstance->GetCacheDefinition(libPath.c_str()); - if(cacheValue) + if(cacheValue && *cacheValue) { fout << "\t\t{" << this->CreateGUID(dspname) << "}." << depcount << " = {" << this->CreateGUID(j->first.c_str()) << "}\n"; |