summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-12 19:48:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-12 19:48:38 (GMT)
commitcb426550609405a61b8f4bc0aafd2996378e11c3 (patch)
tree4704e557ff9a48b1c502dee18d265d99a59cfa72
parent5031b41ea521a3437fe2dafda903c011e6d8938f (diff)
downloadCMake-cb426550609405a61b8f4bc0aafd2996378e11c3.zip
CMake-cb426550609405a61b8f4bc0aafd2996378e11c3.tar.gz
CMake-cb426550609405a61b8f4bc0aafd2996378e11c3.tar.bz2
BUG: change to new variables
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index b46304a..215e7bf 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -1877,15 +1877,17 @@ void cmLocalUnixMakefileGenerator::OutputInstallRules(std::ostream& fout)
fout << " $(DESTDIR)" << prefix << l->second.GetInstallPath() << "\n";
break;
case cmTarget::SHARED_LIBRARY:
- fout << "\t$(INSTALL_DATA) " << m_LibraryOutputPath << "lib"
+ fout << "\t$(INSTALL_DATA) " << m_LibraryOutputPath
+ << this->GetSafeDefinition("CMAKE_SHARED_LIBRARY_PREFIX")
<< l->first;
- fout << m_Makefile->GetDefinition("CMAKE_SHLIB_SUFFIX");
+ fout << this->GetSafeDefinition("CMAKE_SHARED_LIBRARY_SUFFIX");
fout << " $(DESTDIR)" << prefix << l->second.GetInstallPath() << "\n";
break;
case cmTarget::MODULE_LIBRARY:
- fout << "\t$(INSTALL_DATA) " << m_LibraryOutputPath << "lib"
+ fout << "\t$(INSTALL_DATA) " << m_LibraryOutputPath
+ << this->GetSafeDefinition("CMAKE_SHARED_MODULE_PREFIX")
<< l->first;
- fout << m_Makefile->GetDefinition("CMAKE_MODULE_SUFFIX");
+ fout << this->GetSafeDefinition("CMAKE_SHARED_MODULE_SUFFIX");
fout << " $(DESTDIR)" << prefix << l->second.GetInstallPath() << "\n";
break;
case cmTarget::WIN32_EXECUTABLE: