diff options
author | Eike Ziller <eike.ziller@qt.io> | 2020-11-20 11:21:56 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2020-11-23 10:46:39 +0000 |
commit | 05a1b2a6e8a048ae2c893e541e7d09ab46ec62e8 (patch) | |
tree | c51876dffe7f3178943f0caec79e55921659d2f9 /src/libs/clangsupport/CMakeLists.txt | |
parent | 34a7f6f9f2af0f752d7fada1caeb705bb7ba7432 (diff) |
cmake build: Remove unused component "Dependencies"
We don't use it for packaging, nor for github anymore, it duplicates a
whole lot of logic, and that only partially (as an example fixing the
RPATH for clang tools on macOS is missing), and the Clang part only
works with CMake >= 3.14 ("file(READ_SYMLINK"), which was the final
trigger of this patch.
Change-Id: I21ff6b01297009eff15bda36963e729dea4927c8
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'src/libs/clangsupport/CMakeLists.txt')
-rw-r--r-- | src/libs/clangsupport/CMakeLists.txt | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/libs/clangsupport/CMakeLists.txt b/src/libs/clangsupport/CMakeLists.txt index 7117066ac1..dcaa464710 100644 --- a/src/libs/clangsupport/CMakeLists.txt +++ b/src/libs/clangsupport/CMakeLists.txt @@ -159,28 +159,5 @@ foreach(executable clang clang-cl clangd clang-tidy clazy-standalone) FILES "${LLVM_TOOLS_BINARY_DIR}/${executable}${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION "${IDE_LIBEXEC_PATH}/clang/bin/" ) - # For the install directory - install(PROGRAMS - "${LLVM_TOOLS_BINARY_DIR}/${executable}${CMAKE_EXECUTABLE_SUFFIX}" - DESTINATION "${IDE_LIBEXEC_PATH}/clang/bin" - COMPONENT Dependencies - EXCLUDE_FROM_ALL - ) - if (IS_SYMLINK "${LLVM_TOOLS_BINARY_DIR}/${executable}${CMAKE_EXECUTABLE_SUFFIX}") - file(READ_SYMLINK - "${LLVM_TOOLS_BINARY_DIR}/${executable}${CMAKE_EXECUTABLE_SUFFIX}" real_executable) - install(PROGRAMS - "${LLVM_TOOLS_BINARY_DIR}/${real_executable}${CMAKE_EXECUTABLE_SUFFIX}" - DESTINATION "${IDE_LIBEXEC_PATH}/clang/bin" - COMPONENT Dependencies - EXCLUDE_FROM_ALL - ) - endif() endif() endforeach() - -install(DIRECTORY ${LLVM_LIBRARY_DIR}/clang/${CLANG_VERSION}/include - DESTINATION "${IDE_LIBEXEC_PATH}/clang/lib/clang/${CLANG_VERSION}" - COMPONENT Dependencies - EXCLUDE_FROM_ALL -) |