<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Bringing this thread back onto the list, looks like we went off list at some point.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-m_-4991655120434373639HOEnZb"><div class="gmail-m_-4991655120434373639h5"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-m_-4991655120434373639m_4374003061014107539m_3348615170357721056HOEnZb"><div class="gmail-m_-4991655120434373639m_4374003061014107539m_3348615170357721056h5"><div class="gmail_extra"><div class="gmail_quote">On Apr 17, 2017 10:51 PM, "Erika Butler" <<a href="mailto:beneficii@gmail.com" target="_blank">beneficii@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">It's version 2.3 of ninja. This is the latest I could find for Windows.<div><br></div><div>I can't find the cmake version, but it was built on April 10, 2017, so I think that's new enough.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-17 20:46 GMT-07:00 Brian Cain <span dir="ltr"><<a href="mailto:brian.cain@gmail.com" target="_blank">brian.cain@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Not sure. Are you certain your version of ninja and cmake are new enough?</div><div class="gmail-m_-4991655120434373639m_4374003061014107539m_3348615170357721056m_-6616400841576022024m_-4752073125759043091HOEnZb"><div class="gmail-m_-4991655120434373639m_4374003061014107539m_3348615170357721056m_-6616400841576022024m_-4752073125759043091h5"><div class="gmail_extra"><br><div class="gmail_quote">On Apr 17, 2017 10:38 PM, "Erika Butler" <<a href="mailto:beneficii@gmail.com" target="_blank">beneficii@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I added the Ninja directory to my PATH variable and reopened the admin Command Prompt. I changed CMAKE_MAKE_PROGRAM to this:<div><br></div><div>-DCMAKE_MAKE_PROGRAM=ninja<br></div><div><br></div><div>I executed the command again, Ninja still reported an error, now saying in ninja.exe.log:</div><div><br></div><div><div>usage: ninja [-h] [-f file [file ...]] [-l lineno [lineno ...]]</div><div>             [-p project [project ...]] [--plugin plugin [plugin ...]]</div><div>             [--loglevel loglevel] [--logfile logfile]</div><div>             [file [file ...]]</div><div>ninja: error: unrecognized arguments: --version</div></div><div><br></div><div>It seems cmake wants to pass a "--version" argument to its command to open ninja, which causes ninja to complain.</div><div><br></div><div>What can I do?</div><div></div></div></blockquote></div></div></div></div></blockquote></div></div></blockquote></div></div></div></div></blockquote></div></div></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">My ninja version is 1.3.4 and when I run "ninja --version" it reports "1.3.4".  It does not give this error message.  When I run "ninja --help" it shows something very different from the help message you're showing here.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://ninja-build.org/">https://ninja-build.org/</a> claims that the latest version available is "The last Ninja release is v1.7.2, released 7 Nov 2016."  But you said you have version 2.3.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I think that you have another executable called "ninja" in your PATH.  Can you check it?  See if you get different results with binaries from here -- <a href="https://github.com/ninja-build/ninja/releases">https://github.com/ninja-build/ninja/releases</a><br></div></div><div class="gmail_extra"><br><div class="gmail_signature">-Brian</div>
</div></div>