]> granicus.if.org Git - clang/commit
CMake: Fix stand-alone clang builds since r353268
authorTom Stellard <tstellar@redhat.com>
Wed, 20 Feb 2019 01:11:05 +0000 (01:11 +0000)
committerTom Stellard <tstellar@redhat.com>
Wed, 20 Feb 2019 01:11:05 +0000 (01:11 +0000)
commit5666d63c90bcd1643f942a3cbe103a7c6db74ca2
treeacf21f8e605944db390fa6c63d50c50836273b26
parentcf04f7a4b8bdc68b6769df78b138b2dddad85e22
CMake: Fix stand-alone clang builds since r353268

Summary:
Handle the case where LLVM_MAIN_SRC_DIR is not set and also use
LLVM_CMAKE_DIR for locating installed cmake files rather than
LLVM_CMAKE_PATH.

Reviewers: phosek, andrewrk, smeenai

Reviewed By: phosek, andrewrk, smeenai

Subscribers: mgorny, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D58204

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