summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-04-22 20:58:04 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-04-22 20:58:04 (GMT)
commit7b576866b78ae1c6ba5dfc180d4b4f4b64f48872 (patch)
tree5d229cb06dc5183729564fd3830e01b06e60d182 /Source/cmLocalUnixMakefileGenerator.cxx
parent8ba5612136d6d37db1abec8041be9dad2b834949 (diff)
downloadCMake-7b576866b78ae1c6ba5dfc180d4b4f4b64f48872.zip
CMake-7b576866b78ae1c6ba5dfc180d4b4f4b64f48872.tar.gz
CMake-7b576866b78ae1c6ba5dfc180d4b4f4b64f48872.tar.bz2
ENH: add support for static library property STATIC_LIBRARY_FLAGS
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index d732cbf..be05453 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -1355,7 +1355,7 @@ void cmLocalUnixMakefileGenerator::OutputStaticLibraryRule(std::ostream& fout,
createRule = "CMAKE_C_CREATE_STATIC_LIBRARY";
}
std::string linkFlags;
- const char* targetLinkFlags = t.GetProperty("LINK_FLAGS");
+ const char* targetLinkFlags = t.GetProperty("STATIC_LIBRARY_FLAGS");
if(targetLinkFlags)
{
linkFlags += targetLinkFlags;