diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-12-18 18:17:36 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-12-18 18:17:36 (GMT) |
commit | 72d8bd1e411d4f1f1bbe4146e91d66114e1c7110 (patch) | |
tree | 05b3674c5950ac9aa16459588f3a196f1beb3725 /Source/cmLocalCodeWarriorGenerator.cxx | |
parent | c3840b5cc3e26886bab16faf7e27a4ef80f3686d (diff) | |
download | CMake-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/cmLocalCodeWarriorGenerator.cxx')
-rw-r--r-- | Source/cmLocalCodeWarriorGenerator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmLocalCodeWarriorGenerator.cxx b/Source/cmLocalCodeWarriorGenerator.cxx index ef5ee30..ba66c65 100644 --- a/Source/cmLocalCodeWarriorGenerator.cxx +++ b/Source/cmLocalCodeWarriorGenerator.cxx @@ -189,7 +189,7 @@ void cmLocalCodeWarriorGenerator::WriteSettingList(std::ostream& fout, = GetGlobalGenerator()->GetCMakeInstance() ->GetCacheDefinition(libPath.c_str()); - if( cacheValue ) + if( cacheValue && *cacheValue ) { // just tack it on fout << "<SETTING>\n"; @@ -585,7 +585,7 @@ void cmLocalCodeWarriorGenerator::WriteFileList(std::ostream& fout, = GetGlobalGenerator()->GetCMakeInstance() ->GetCacheDefinition(libPath.c_str()); - if( cacheValue ) + if( cacheValue && *cacheValue ) { // just tack it on fout << "<FILE>\n"; @@ -718,7 +718,7 @@ void cmLocalCodeWarriorGenerator::WriteLinkOrder(std::ostream& fout, = GetGlobalGenerator()->GetCMakeInstance() ->GetCacheDefinition(libPath.c_str()); - if( cacheValue ) + if( cacheValue && *cacheValue ) { // just tack it on fout << "<FILEREF>\n"; @@ -988,7 +988,7 @@ void cmLocalCodeWarriorGenerator::WriteGroup(std::ostream& fout, = GetGlobalGenerator()->GetCMakeInstance() ->GetCacheDefinition(libPath.c_str()); - if( cacheValue ) + if( cacheValue && *cacheValue ) { // this is a subtarget reference, it will be taken care of later continue; |