diff options
author | Amitha Perera <perera@cs.rpi.edu> | 2001-12-10 17:02:10 (GMT) |
---|---|---|
committer | Amitha Perera <perera@cs.rpi.edu> | 2001-12-10 17:02:10 (GMT) |
commit | e19a90ab2092c53f1c1c1bcb53bde6bc6a7d95b2 (patch) | |
tree | 3788f7f1752f4e354e8b9373561976576e3b14ef /Source | |
parent | ee31c3e0a433c8ed31eac4d8ae898c67c7a51b17 (diff) | |
download | CMake-e19a90ab2092c53f1c1c1bcb53bde6bc6a7d95b2.zip CMake-e19a90ab2092c53f1c1c1bcb53bde6bc6a7d95b2.tar.gz CMake-e19a90ab2092c53f1c1c1bcb53bde6bc6a7d95b2.tar.bz2 |
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.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 0461723..e385b04 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; } |