Commit 9e302891 authored by Nicolas Despres's avatar Nicolas Despres Committed by Peter Kümmel
Browse files

Ninja: Cannot pass a reference to an anonymous object.

parent 0a3d6a19
......@@ -444,9 +444,10 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
// It is common to place debug symbols at a specific place,
// so we need a plain target name in the rule available.
std::string prefix;
std::string base;
std::string suffix;
this->GetTarget()->GetFullNameComponents(std::string(), base, suffix);
this->GetTarget()->GetFullNameComponents(prefix, base, suffix);
std::string dbg_suffix = ".dbg";
// TODO: Where to document?
if (mf->GetDefinition("CMAKE_DEBUG_SYMBOL_SUFFIX"))
Markdown is supported
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