<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    Have a look here: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Bug/view.php?id=15291">http://www.cmake.org/Bug/view.php?id=15291</a><br>
    <br>
    You should be able to use, for the time being, DOWNLOAD_COMMAND and
    UPDATE_COMMAND to achieve this. (have not tested myself)<br>
    <br>
    Hope this helps.<br>
    <br>
    Cheers,<br>
    Yngve<br>
    <br>
    <div class="moz-cite-prefix">On 08/01/15 23:58, Kent Williams wrote:<br>
    </div>
    <blockquote
cite="mid:CAA4Dnn2vWwmcj8Lm8QPdriz5ef2Z_2K+r5yhy7FWNoqUtFFj6g@mail.gmail.com"
      type="cite">
      <div dir="ltr">I'm building the Mozilla Spidermonkey JS
        interpreter as an ExternalProject.
        <div><br>
        </div>
        <div>So far so good, but I had a question/feature request:
           Wouldn't it be grand to be able to add --depth 1 to the git
          clone?  This is perfect for grabbing giant repositories. 
          Mozilla is more than 3 gigabytes with a full clone, and a
          depth=1 checkout is a 1/3 that.</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>