[clang] Pass option directly to command. NFC
authorShoaib Meenai <smeenai@fb.com>
Thu, 25 Mar 2021 07:20:01 +0000 (00:20 -0700)
committerShoaib Meenai <smeenai@fb.com>
Thu, 25 Mar 2021 18:36:06 +0000 (11:36 -0700)
commit33930a0787f6007ba7ebf36384115bebb412e08a
treefee83f92ea12f80ba128d84a5b6928c4e7515832
parent0135bc996d82ff68677820c421b4d666590e4f31
[clang] Pass option directly to command. NFC

This code was written back when LLVM's minimum required CMake version
was 2.8.8, and I assume ExternalProject_Add_Step didn't take this option
at that point. It does now though, so we should just use the option.
Setting the _EP_* property is entirely equivalent (and is in fact how
these commands behave internally), but that also feels like an internal
implementation detail we shouldn't be relying on.

Reviewed By: beanz

Differential Revision: https://reviews.llvm.org/D99322
clang/CMakeLists.txt