From 33f054a316672b1ef54c9f4e6960ac1e7e5acbf5 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Mon, 7 Oct 2019 21:38:30 +0000 Subject: [PATCH] [CMake] We only want to copy the headers for macOS. llvm-svn: 373970 --- lldb/cmake/modules/LLDBFramework.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lldb/cmake/modules/LLDBFramework.cmake b/lldb/cmake/modules/LLDBFramework.cmake index 6385156..249fea3 100644 --- a/lldb/cmake/modules/LLDBFramework.cmake +++ b/lldb/cmake/modules/LLDBFramework.cmake @@ -86,11 +86,13 @@ add_dependencies(liblldb liblldb-resource-headers) # At build time, copy the staged headers into the framework bundle (and do # some post-processing in-place). +if (NOT IOS) add_custom_command(TARGET liblldb POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_directory ${lldb_header_staging} $/Headers COMMAND ${LLDB_SOURCE_DIR}/scripts/framework-header-fix.sh $/Headers ${LLDB_VERSION} COMMENT "LLDB.framework: copy framework headers" ) +endif() # Copy vendor-specific headers from clang (without staging). if(NOT IOS) -- 2.7.4