summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-05-18 15:48:20 (GMT)
committerBrad King <brad.king@kitware.com>2001-05-18 15:48:20 (GMT)
commit1e7d8f8148585109e77420ffd23954a33a378b00 (patch)
treee91976b8d97a12ff030bfeaa912af8e17be4d303 /Source/cmUnixMakefileGenerator.cxx
parent16fc8d78f18a567e9f9b23605caa25865f5b30d6 (diff)
downloadCMake-1e7d8f8148585109e77420ffd23954a33a378b00.zip
CMake-1e7d8f8148585109e77420ffd23954a33a378b00.tar.gz
CMake-1e7d8f8148585109e77420ffd23954a33a378b00.tar.bz2
BUG: fix link of executables
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 081a6c9..352dfb8 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -329,7 +329,7 @@ void cmUnixMakefileGenerator::OutputTargets(std::ostream& fout)
fout << "lib" << l->first << "$(SHLIB_SUFFIX): ${" <<
l->first << "_SRC_OBJS} \n";
fout << "\trm -f lib" << l->first << "$(SHLIB_SUFFIX)\n";
- fout << "\t$(CMAKE_CXX) ${CMAKE_SHLIB_LINK_FLAGS} ${CMAKE_CXX_FLAGS} ${CMAKE_SHLIB_BUILD_FLAGS} -o \\\n";
+ fout << "\t$(CMAKE_CXX_COMPILER) ${CMAKE_SHLIB_LINK_FLAGS} ${CMAKE_CXX_FLAGS} ${CMAKE_SHLIB_BUILD_FLAGS} -o \\\n";
fout << "\t lib" << l->first << "$(SHLIB_SUFFIX) \\\n";
fout << "\t ${" << l->first <<
"_SRC_OBJS} ";
@@ -340,7 +340,7 @@ void cmUnixMakefileGenerator::OutputTargets(std::ostream& fout)
{
fout << l->first << ": ${" <<
l->first << "_SRC_OBJS} ${CMAKE_DEPEND_LIBS}\n";
- fout << "\t${CMAKE_CXX} ${CMAKE_CXXFLAGS} ${" <<
+ fout << "\t${CMAKE_CXX_COMPILER} ${CMAKE_CXXFLAGS} ${" <<
l->first << "_SRC_OBJS} ";
this->OutputLinkLibraries(fout, NULL,l->second);
fout << " -o " << l->first << "\n\n";