[CMake] Adjust the variables set by LLVMConfig.cmake
authorJohn Brawn <john.brawn@arm.com>
Wed, 30 Sep 2015 10:34:06 +0000 (10:34 +0000)
committerJohn Brawn <john.brawn@arm.com>
Wed, 30 Sep 2015 10:34:06 +0000 (10:34 +0000)
commit0d59ae63696d395bc70d88cc2d827307dd558640
treedcd031e3549665721bdf97d82ebbd47a78ac7c84
parent4e042482c8714aec2a3433e8db055d7983bdabe9
[CMake] Adjust the variables set by LLVMConfig.cmake

When using LLVMConfig.cmake from an installed toolchain in order to build a
loadable pass using add_llvm_loadable_module LLVM_ENABLE_PLUGINS and
LLVM_PLUGIN_EXT must be set. Also make LLVM_DEFINITIONS be set to what it
actually is.

Differential Revision: http://reviews.llvm.org/D13214

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248884 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/LLVMConfig.cmake.in