[CMake] Add lto subdirectory explicitly.
authorChris Bieneman <beanz@apple.com>
Thu, 10 Sep 2015 18:22:33 +0000 (18:22 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 10 Sep 2015 18:22:33 +0000 (18:22 +0000)
commit24346ed19fa1f2d699578307b52b1595b0888834
treea5943a49eb8d1ab3546e2ed1087fa414900fc85a
parentba662b351c937958f586dac232394bd8393f3998
[CMake] Add lto subdirectory explicitly.

This is required because ExternalProject_Add requires all targets specified in the DEPENDS argument must exist before calling ExternalProject_Add.

I have a follow-up patch to clang that enables using the just-built libLTO in bootstrap builds, so we need to be able to add the LTO target as a dependency in clang.

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