Skip to content

Commit

Permalink
Merge pull request #399 from ntrost57/fix/rsiopath_62
Browse files Browse the repository at this point in the history
RSIO install path fix
  • Loading branch information
mamaydeo authored Jul 23, 2024
2 parents e5ea586 + 0061a98 commit b293299
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions clients/tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@ foreach(app ${ROCSPARSEIO_TOOLS_SOURCES})
endif()
endif()

# Set benchmark output directory
# Set tools output directory
set_target_properties(${app} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/staging")

endforeach()
# Install
if(WIN32)
rocm_install(PROGRAMS $<TARGET_FILE:${app}> DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT clients)
else()
rocm_install(PROGRAMS $<TARGET_FILE:${app}> DESTINATION ${CMAKE_INSTALL_LIBDIR}/rocsparse COMPONENT clients)
endif()

#
# targets
#
rocm_install_targets(TARGETS ${ROCSPARSEIO_TOOLS_SOURCES} PREFIX rocsparseio EXPORT ${PROJECT_BINARY_DIR}/staging)
endforeach()

0 comments on commit b293299

Please sign in to comment.