[BOLT][CMAKE] Remove CMake 3.13.4 incompatible parameter

Remove `TYPE BIN` parameter that is introduced in CMake 3.14 and revert back to
the equivalent compatible form `DESTINATION ${CMAKE_INSTALL_BINDIR}`.

Addresses https://github.com/llvm/llvm-project/issues/54099

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D121012
This commit is contained in:
Amir Ayupov 2022-03-07 18:41:12 -08:00
parent 94ec0b6c5a
commit 018ad03efa
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ install(PROGRAMS
${CMAKE_BINARY_DIR}/bin/llvm-bolt ${CMAKE_BINARY_DIR}/bin/llvm-bolt
${CMAKE_BINARY_DIR}/bin/perf2bolt ${CMAKE_BINARY_DIR}/bin/perf2bolt
${CMAKE_BINARY_DIR}/bin/llvm-boltdiff ${CMAKE_BINARY_DIR}/bin/llvm-boltdiff
TYPE BIN DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT bolt COMPONENT bolt
) )
add_llvm_install_targets(install-bolt DEPENDS bolt COMPONENT bolt) add_llvm_install_targets(install-bolt DEPENDS bolt COMPONENT bolt)