CMake: fix cross-compilation with external source directories
authorAlp Toker <alp@nuanti.com>
Tue, 15 Jul 2014 21:04:12 +0000 (21:04 +0000)
committerAlp Toker <alp@nuanti.com>
Tue, 15 Jul 2014 21:04:12 +0000 (21:04 +0000)
commita507bb590355e6935fac6e902609b46ad52be11c
treea7a955ef403d22ccae6f9c4180617317c61be9b7
parentf51601c856d38b5654f933e30b887282f7676399
CMake: fix cross-compilation with external source directories

This adds support for building native artifacts when cross-compiling using the
popular side-by-side source directory layout (no symlinks, no nested
repositories).

llvm-svn: 213091
llvm/cmake/modules/TableGen.cmake