mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 00:26:18 +00:00
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
Block a user