BUG: LIBRARY_OUTPATH_PATH may be "set" to the null string, in which case it
should be ignored.
This commit is contained in:
parent
ee31c3e0a4
commit
e19a90ab20
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue