Make LINK_POLLY_INTO_TOOLS work with the CMake build
authorAlp Toker <alp@nuanti.com>
Fri, 6 Jun 2014 06:39:00 +0000 (06:39 +0000)
committerAlp Toker <alp@nuanti.com>
Fri, 6 Jun 2014 06:39:00 +0000 (06:39 +0000)
commit6ae079ee4ae0b33c393de1b2a16e70d2ae57a35a
treefe43dfc161fa786b84fcdc45fab0d1d24be64571
parentbf56d44cab281a7cec42c6c01caac8e7e7b3ea5c
Make LINK_POLLY_INTO_TOOLS work with the CMake build

The option check was being performed after config.h/llvm-config.h substitution,
generating incorrect macro definitions.

Fixes PR19614.

llvm-svn: 210311
llvm/CMakeLists.txt