[LLDB] Fix/silence CMake developer warning for LLDB framework.
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 12 Nov 2019 22:15:06 +0000 (14:15 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 12 Nov 2019 22:17:19 +0000 (14:17 -0800)
commita247bd1f274e49ea83b2ad39c6ff062753e9e779
tree0ee8e03bc576603aa298af4c0b40a7cae665683e
parent4ae74cc99fb9d9c1f47cc7c5cd4c515bd53e2a19
[LLDB] Fix/silence CMake developer warning for LLDB framework.

This fixes the following warning for developers:

  Target 'liblldb' was changed to a FRAMEWORK sometime after install().  This
  may result in the wrong install DESTINATION.  Set the FRAMEWORK property
  earlier.

The solution is to pass the FRAMEWORK flag to add_lldb_library and set
the target property before install(). For now liblldb is the only
customer.
lldb/cmake/modules/AddLLDB.cmake
lldb/source/API/CMakeLists.txt