Skip to content
  • David Cole's avatar
    ExternalProject: Add missing COMMAND keyword · 64818c10
    David Cole authored
    Commit f67139ae added running a verify script in between running
    the download and extract scripts. Since then, it has always been
    missing the COMMAND keyword added in this commit.
    
    It worked anyway (semi-accidentally) by running a command line like:
    
      cmake -P script1.cmake cmake -P script2.cmake
    
    CMake, when running -P scripts on the command line, runs them in order,
    and apparently ignores spurious arguments in between (the middle "cmake"
    in the above example) and so, all appeared to work as intended.
    
    This commit adds the missing keyword and the commands that run are
    now two separate sequential cmake invocations like:
    
      cmake -P script1.cmake
      cmake -P script2.cmake
    
    ...which was the original intent of commit f67139ae
    64818c10