Skip to content

Commit

Permalink
[BOLT][CMAKE] Remove CMake 3.13.4 incompatible parameter
Browse files Browse the repository at this point in the history
Remove `TYPE BIN` parameter that is introduced in CMake 3.14 and revert back to
the equivalent compatible form `DESTINATION ${CMAKE_INSTALL_BINDIR}`.

Addresses #54099

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D121012

(cherry picked from commit 018ad03)
  • Loading branch information
aaupov committed Mar 8, 2022
1 parent 43b4544 commit bfaed48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bolt/tools/driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ install(PROGRAMS
${CMAKE_BINARY_DIR}/bin/perf2bolt
${CMAKE_BINARY_DIR}/bin/llvm-boltdiff
${CMAKE_BINARY_DIR}/bin/llvm-bolt-heatmap
TYPE BIN
DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT bolt
)
add_llvm_install_targets(install-bolt DEPENDS bolt COMPONENT bolt)
Expand Down

0 comments on commit bfaed48

Please sign in to comment.