mirror of
https://github.com/reactos/CMake.git
synced 2025-02-09 13:22:20 +00:00
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…
x
Reference in New Issue
Block a user