diff --git a/CMakeLists.txt b/CMakeLists.txt index ce13531..7ef71be 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,12 +173,10 @@ target_compile_options(${ROCMINFO_EXE} PRIVATE ${ROCMINFO_CXX_FLAGS}) # Install directives ########################### install ( - FILES ${CMAKE_CURRENT_BINARY_DIR}/${ROCMINFO_EXE} - PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE + TARGETS ${ROCMINFO_EXE} DESTINATION ${CMAKE_INSTALL_BINDIR} ) install ( - FILES ${CMAKE_CURRENT_BINARY_DIR}/rocm_agent_enumerator - PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE + PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/rocm_agent_enumerator DESTINATION ${CMAKE_INSTALL_BINDIR} ) ###########################