[lldb][CMake] Fix framework-enabled build detail for Xcode
authorStefan Granitz <stefan.graenitz@gmail.com>
Thu, 25 Jul 2019 10:47:49 +0000 (10:47 +0000)
committerStefan Granitz <stefan.graenitz@gmail.com>
Thu, 25 Jul 2019 10:47:49 +0000 (10:47 +0000)
commitc8916258d5a9f6cdf1d6125b3aa3e68b91e61a98
treea79b17f08e1dd5bb210ce4dd8456fe447471b422
parent55fd57ba95a3e6e4f0c5738abc067934f995c4c8
[lldb][CMake] Fix framework-enabled build detail for Xcode

If debugserver or any other framework tool gets built first, its post-build copy operation was using 'Resources' as the file name instead of the destination directory. It was not a problem with Ninja, because here the framework structure was alreaady created at configuration time. With this fix, both generators are happy.

llvm-svn: 367005
lldb/cmake/modules/AddLLDB.cmake