Skip to content
Snippets Groups Projects
Commit 0432f062 authored by Gilles Khouzam's avatar Gilles Khouzam Committed by Brad King
Browse files

VS: Always ignore ole32 on Windows Phone 8.0

parent e6ff2f8b
No related branches found
No related tags found
No related merge requests found
......@@ -1982,6 +1982,13 @@ cmVisualStudio10TargetGenerator::ComputeLinkOptions(std::string const& config)
// component, then do not generate the metadata here.
linkOptions.AddFlag("GenerateWindowsMetadata", "false");
}
if (this->GlobalGenerator->TargetsWindowsPhone() &&
this->GlobalGenerator->GetSystemVersion() == "8.0")
{
// WindowsPhone 8.0 does not have ole32.
linkOptions.AppendFlag("IgnoreSpecificDefaultLibraries", "ole32.lib");
}
}
linkOptions.Parse(flags.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment