diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-12-18 13:17:36 -0500 |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-12-18 13:17:36 -0500 |
commit | 72d8bd1e411d4f1f1bbe4146e91d66114e1c7110 (patch) | |
tree | 05b3674c5950ac9aa16459588f3a196f1beb3725 /Source/cmGlobalVisualStudio6Generator.cxx | |
parent | c3840b5cc3e26886bab16faf7e27a4ef80f3686d (diff) | |
download | cmake-72d8bd1e411d4f1f1bbe4146e91d66114e1c7110.tar.gz |
BUG: Fix Bug #445 - Same library in multiple projects can cause problems
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio6Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx index ca53dbbdcf..1ae06d8f21 100644 --- a/Source/cmGlobalVisualStudio6Generator.cxx +++ b/Source/cmGlobalVisualStudio6Generator.cxx @@ -452,7 +452,7 @@ void cmGlobalVisualStudio6Generator::WriteProject(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 << "Begin Project Dependency\n"; fout << "Project_Dep_Name " << j->first << "\n"; |