mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
BUG: Fix crash when CMAKE_DEBUG_POSTFIX is not set.
This commit is contained in:
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user