[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:
parent
94ec0b6c5a
commit
018ad03efa
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue