]> granicus.if.org Git - llvm/commit
Cmake: allow using LLVM_EXTERNAL_PROJECTS with LLVM_ENABLE_PROJECTS
authorHans Wennborg <hans@hanshq.net>
Mon, 27 May 2019 09:03:00 +0000 (09:03 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 27 May 2019 09:03:00 +0000 (09:03 +0000)
commit096b2564f307e5fd20d6d3f28d7b93d0d7968aa3
tree8269c9711526d36cc0339f31a8cff00eb19c610c
parentb5c9d2b68d69ed4f735413bbf3268faf79353ca7
Cmake: allow using LLVM_EXTERNAL_PROJECTS with LLVM_ENABLE_PROJECTS

The current code iterates over the combination of LLVM_EXTERNAL_PROJECTS
and LLVM_ENABLE_PROJECTS, but then disables projects that are only in
the former. If a project is in LLVM_EXTERNAL_PROJECTS, it should be
enabled.

See also llvm-commits thread on r354060.

Differential revision: https://reviews.llvm.org/D62289

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361751 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt