Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
Adding target file names for each target to be picked up
Browse files Browse the repository at this point in the history
Change-Id: Iaf620dec4490ad6574ca46ab886133159fc38627
  • Loading branch information
paigeale committed Apr 9, 2020
1 parent 322d04e commit d16d77e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,14 @@ if(BUILD_PACKAGE)
DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}/cmake/llvm
COMPONENT intel-llvm-patched-library)

install(TARGETS llvm-link llvm-config llvm-tblgen not FileCheck count
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
install(FILES
$<TARGET_FILE_NAME:llvm-link>
$<TARGET_FILE_NAME:llvm-config>
$<TARGET_FILE_NAME:llvm-tblgen>
$<TARGET_FILE_NAME:not>
$<TARGET_FILE_NAME:FileCheck>
$<TARGET_FILE_NAME:count>
DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
COMPONENT intel-llvm-patched-library
)

Expand Down

0 comments on commit d16d77e

Please sign in to comment.