build/cmake: Fix CMP0023 warning with libffi
authorJan Vesely <jan.vesely@rutgers.edu>
Thu, 4 Sep 2014 14:21:10 +0000 (14:21 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Thu, 4 Sep 2014 14:21:10 +0000 (14:21 +0000)
commitd3a511ec07d6e35158547125bf36b068193bed4a
tree65ad80bc9f020f35032a64bbbb59a0050ff84ff2
parent0f8b5790d60e9e43a17287cfb97940eb49bd6c52
build/cmake: Fix CMP0023 warning with libffi

Fixes:
CMake Warning (dev) at lib/ExecutionEngine/Interpreter/CMakeLists.txt:16 (target_link_libraries):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The keyword signature for target_link_libraries has already been used with
  the target "LLVMInterpreter".  All uses of target_link_libraries with a
  target should be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * cmake/modules/AddLLVM.cmake:345 (target_link_libraries)

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217154 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/Interpreter/CMakeLists.txt