Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
Fixes the installation path of binaries.

Currently, binaries are placed in the installation prefix, at the same level as the `bin`, `lib64` directories. This fix will place binaries in the bin folder.
  • Loading branch information
dipietrantonio authored Mar 24, 2023
1 parent 7771c7c commit 5baacf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ endif()

set(HIPIFY_INSTALL_PATH ${CMAKE_INSTALL_PREFIX})

install(TARGETS hipify-clang DESTINATION ${CMAKE_INSTALL_PREFIX})
install(TARGETS hipify-clang DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
install(
DIRECTORY ${CMAKE_SOURCE_DIR}/bin/
DESTINATION ${CMAKE_INSTALL_PREFIX}
DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
USE_SOURCE_PERMISSIONS
PATTERN "hipify-perl"
PATTERN "*.sh")
Expand Down

0 comments on commit 5baacf1

Please sign in to comment.