Commit c5e7d5a7 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

BUG: fix build of lib.a problem

parent 382b9d05
...@@ -84,7 +84,7 @@ BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin ...@@ -84,7 +84,7 @@ BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin
# set up the path to the rulesgen program # set up the path to the rulesgen program
CMAKE = @CMAKE_OBJ_DIR@/CMake/Source/CMakeBuildTargets CMAKE = @CMAKE_OBJ_DIR@/CMake/Source/CMakeBuildTargets
KIT_OBJ = ${SRC_OBJ} ${EXTRA_KIT_OBJ} KIT_OBJ = ${SRC_OBJ} ${EXTRA_KIT_OBJ}
BUILD_LIB_FILE = lib${ME}${ITK_LIB_EXT}
# ***** BEGIN VARIBLES THAT CAN BE OVERRIDDEN IN CMakeLocal.make.in ************** # ***** BEGIN VARIBLES THAT CAN BE OVERRIDDEN IN CMakeLocal.make.in **************
......
...@@ -82,7 +82,12 @@ void cmUnixMakefile::OutputMakefile(const char* file) ...@@ -82,7 +82,12 @@ void cmUnixMakefile::OutputMakefile(const char* file)
} }
fout << "\n"; 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++) for(int i =0; i < m_MakeVerbatim.size(); i++)
{ {
fout << m_MakeVerbatim[i] << "\n"; fout << m_MakeVerbatim[i] << "\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment