BUG: Fix crash when CMAKE_DEBUG_POSTFIX is not set.
This commit is contained in:
parent
dc73da6e93
commit
491bebefa2
|
@ -260,6 +260,10 @@ bool cmFileCommand::HandleInstallCommand(
|
|||
|
||||
const char* debug_postfix
|
||||
= m_Makefile->GetDefinition("CMAKE_DEBUG_POSTFIX");
|
||||
if(!debug_postfix)
|
||||
{
|
||||
debug_postfix = "";
|
||||
}
|
||||
const char* destdir = cmSystemTools::GetEnv("DESTDIR");
|
||||
|
||||
std::string extra_dir = "";
|
||||
|
|
Loading…
Reference in New Issue