summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2001-12-10 12:02:10 -0500
committerAmitha Perera <perera@cs.rpi.edu>2001-12-10 12:02:10 -0500
commite19a90ab2092c53f1c1c1bcb53bde6bc6a7d95b2 (patch)
tree3788f7f1752f4e354e8b9373561976576e3b14ef /Source
parentee31c3e0a433c8ed31eac4d8ae898c67c7a51b17 (diff)
downloadcmake-e19a90ab2092c53f1c1c1bcb53bde6bc6a7d95b2.tar.gz
BUG: LIBRARY_OUTPATH_PATH may be "set" to the null string, in which case it
should be ignored.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 0461723703..e385b04947 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -870,7 +870,8 @@ void cmUnixMakefileGenerator::OutputBuildLibraryInDir(std::ostream& fout,
const char* fullpath)
{
const char* makeTarget = library;
- if(m_Makefile->GetDefinition("LIBRARY_OUTPUT_PATH"))
+ const char* libOutPath = m_Makefile->GetDefinition("LIBRARY_OUTPUT_PATH");
+ if(libOutPath && strcmp( libOutPath, "" ) != 0)
{
makeTarget = fullpath;
}