Skip to content

Commit bfaed48

Browse files
committed
[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 #54099 Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D121012 (cherry picked from commit 018ad03)
1 parent 43b4544 commit bfaed48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/tools/driver/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ install(PROGRAMS
3838
${CMAKE_BINARY_DIR}/bin/perf2bolt
3939
${CMAKE_BINARY_DIR}/bin/llvm-boltdiff
4040
${CMAKE_BINARY_DIR}/bin/llvm-bolt-heatmap
41-
TYPE BIN
41+
DESTINATION ${CMAKE_INSTALL_BINDIR}
4242
COMPONENT bolt
4343
)
4444
add_llvm_install_targets(install-bolt DEPENDS bolt COMPONENT bolt)

0 commit comments

Comments
 (0)