summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2000-08-31 18:26:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2000-08-31 18:26:38 (GMT)
commitc5e7d5a7963762ab5998e4d0a0edff826c85c6ea (patch)
tree9c23a3c1880666f772a504adffd4dda99b184929 /Source
parent382b9d050887babdb0c838ab9085b7ebe9b5c13b (diff)
downloadCMake-c5e7d5a7963762ab5998e4d0a0edff826c85c6ea.zip
CMake-c5e7d5a7963762ab5998e4d0a0edff826c85c6ea.tar.gz
CMake-c5e7d5a7963762ab5998e4d0a0edff826c85c6ea.tar.bz2
BUG: fix build of lib.a problem
Diffstat (limited to 'Source')
-rw-r--r--Source/cmUnixMakefile.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmUnixMakefile.cxx b/Source/cmUnixMakefile.cxx
index 7feceaf..90c887b 100644
--- a/Source/cmUnixMakefile.cxx
+++ b/Source/cmUnixMakefile.cxx
@@ -82,7 +82,12 @@ void cmUnixMakefile::OutputMakefile(const char* file)
}
fout << "\n";
}
- fout << "ME = " << this->GetLibraryName() << "\n\n";
+ if(strlen(this->GetLibraryName()) > 0)
+ {
+ fout << "ME = " << this->GetLibraryName() << "\n\n";
+ fout << "BUILD_LIB_FILE = lib${ME}${ITK_LIB_EXT}\n\n";
+ }
+
for(int i =0; i < m_MakeVerbatim.size(); i++)
{
fout << m_MakeVerbatim[i] << "\n";