build: fix cmake warning with newer CMake
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 20 Jul 2014 05:28:55 +0000 (05:28 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 20 Jul 2014 05:28:55 +0000 (05:28 +0000)
commite1401eb7477dab53d3455b9876b6a867387007b1
tree4ef7c0531434c2c13ef67c4af7b7b57232be84d0
parent03074dd83e71defb85f113249e9785c34d74aa06
build: fix cmake warning with newer CMake

Hoist the compatibility macros out a level and re-use them when adding link
dependencies.  Silences a warning from CMake.

llvm-svn: 213469
lldb/CMakeLists.txt
lldb/source/CMakeLists.txt