diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-08-10 16:55:41 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-08-10 16:55:41 (GMT) |
commit | e59e9d0e5972ef251157d412d4a0ae341caa379f (patch) | |
tree | 01ed394b0de6b1bd7a5d28b1afa5f14453231f72 /Source/cmGlobalXCodeGenerator.cxx | |
parent | b058a5e1aa8ac7c54552eff5519a9b43ab20a08d (diff) | |
download | CMake-e59e9d0e5972ef251157d412d4a0ae341caa379f.zip CMake-e59e9d0e5972ef251157d412d4a0ae341caa379f.tar.gz CMake-e59e9d0e5972ef251157d412d4a0ae341caa379f.tar.bz2 |
ENH: fix bug 2087 lib prefix stripped off on windows
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 2a65433..c98f5c0 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -1353,6 +1353,12 @@ void cmGlobalXCodeGenerator::AddDependAndLinkInformation(cmXCodeObject* target) orderLibs.AddLinkExtension(ext.c_str()); } ext = + m_CurrentMakefile->GetSafeDefinition("CMAKE_STATIC_LIBRARY_PREFIX"); + if(ext.size()) + { + orderLibs.SetLinkPrefix(ext.c_str()); + } + ext = m_CurrentMakefile->GetSafeDefinition("CMAKE_SHARED_LIBRARY_SUFFIX"); if(ext.size()) { |