[all-commits] [llvm/llvm-project] a247bd: [LLDB] Fix/silence CMake developer warning for LLD...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Nov 12 14:17:25 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a247bd1f274e49ea83b2ad39c6ff062753e9e779
      https://github.com/llvm/llvm-project/commit/a247bd1f274e49ea83b2ad39c6ff062753e9e779
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M lldb/cmake/modules/AddLLDB.cmake
    M lldb/source/API/CMakeLists.txt

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list