Emit a warning if llvm_map_components_to_libraries() is used noting that its
authorDan Liew <dan@su-root.co.uk>
Mon, 28 Jul 2014 13:36:50 +0000 (13:36 +0000)
committerDan Liew <dan@su-root.co.uk>
Mon, 28 Jul 2014 13:36:50 +0000 (13:36 +0000)
commitb3768f6fb0b2b5e5565e0326f7a3edeb2b8d6999
tree468656dac0fb6b0cedb0ac52844f11e862be167d
parent1149da67c52399d60543dd268a789cdde6d09633
Emit a warning if llvm_map_components_to_libraries() is used noting that its
use is deprecated in favour of llvm_map_components_to_libnames()

Although message(DEPRECATION "msg") would probably be a better fit this
does nothing if CMAKE_ERROR_DEPRECATED and CMAKE_WARNING_DEPRECATED are
both off, which is the default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214078 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/LLVM-Config.cmake