]> granicus.if.org Git - clang/commit
[Basic] Update CMakeLists.txt to handle repo
authorMinSeong Kim <min.s.kim@samsung.com>
Sat, 9 Sep 2017 14:18:53 +0000 (14:18 +0000)
committerMinSeong Kim <min.s.kim@samsung.com>
Sat, 9 Sep 2017 14:18:53 +0000 (14:18 +0000)
commit5ee11e2597c00319c9567e03e0a6301dc0bce029
tree66bdef5c4a82325078283caa1fa3c481dcbf7d05
parent5fa94c9ce1c45f3261e3dcfa15e7afbd10d5f2f7
[Basic] Update CMakeLists.txt to handle repo

Summary:
The find_first_existing_file and find_first_existing_vc_file macros in
lib/Basic/CMakeLists.txt are removed. The macros are also defined in
{LLVM}/cmake/modules/AddLLVM.cmake for the same purpose. This change
serves the following 2 objectives:

    1. To remove the redundant code in clang to use the same
       macros in llvm,
    2. The macros in AddLLVM.cmake can also handle repo for
       displaying correct version information.

Reviewers: jordan_rose, cfe-commits, modocache, hintonda

Reviewed By: hintonda

Subscribers: mgorny

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

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