Commit 74d1c885 authored by Peter Kümmel's avatar Peter Kümmel
Browse files

Ninja: cmcldeps needs absolute paths for RCs

parent 1cdeef79
......@@ -469,7 +469,7 @@ cmNinjaTargetGenerator
cmNinjaDeps emptyDeps;
std::string comment;
const char* language = source->GetLanguage();
const std::string language = source->GetLanguage();
std::string rule = this->LanguageCompilerRule(language);
cmNinjaDeps outputs;
......@@ -479,7 +479,11 @@ cmNinjaTargetGenerator
cmNinjaDeps explicitDeps;
std::string sourceFileName = this->GetSourceFilePath(source);
std::string sourceFileName;
if (language == "RC")
sourceFileName = source->GetFullPath();
sourceFileName = this->GetSourceFilePath(source);
// Ensure that the target dependencies are built before any source file in
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