summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 75236ba..14677f4 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -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 = "";