From fb7292fc9c591c958a6f3e4edbe84370a7f9de23 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Tue, 20 Dec 2016 01:08:20 -0800 Subject: [PATCH 4001/4002] https://llvm.org/bugs/show_bug.cgi?id=31433 Signed-off-by: Jeremy Huddleston Sequoia --- cmake/modules/AddLLDB.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git llvm_master/tools/lldb/cmake/modules/AddLLDB.cmake macports_master/tools/lldb/cmake/modules/AddLLDB.cmake index 4c6f1efd6..54799c02a 100644 --- llvm_master/tools/lldb/cmake/modules/AddLLDB.cmake +++ macports_master/tools/lldb/cmake/modules/AddLLDB.cmake @@ -134,6 +134,12 @@ function(add_lldb_executable name) -DCMAKE_INSTALL_COMPONENT=${name} -P "${CMAKE_BINARY_DIR}/cmake_install.cmake") endif() + else() + if(ARG_GENERATE_INSTALL) + install(TARGETS ${name} + COMPONENT ${name} + RUNTIME DESTINATION ${install_dir}) + endif() endif() if(ARG_INCLUDE_IN_FRAMEWORK AND LLDB_BUILD_FRAMEWORK) -- 2.13.2