diff options
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio71Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx index 52c705a..9055ccb 100644 --- a/Source/cmGlobalVisualStudio71Generator.cxx +++ b/Source/cmGlobalVisualStudio71Generator.cxx @@ -248,7 +248,7 @@ void cmGlobalVisualStudio71Generator::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(j->first.c_str()) << "} = {" << this->CreateGUID(j->first.c_str()) << "}\n"; |