Commit 491bebef authored by Brad King's avatar Brad King 💬
Browse files

BUG: Fix crash when CMAKE_DEBUG_POSTFIX is not set.

parent dc73da6e
......@@ -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 = "";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment