Skip to content

Commit

Permalink
fixing rocsparseio tools directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrost57 committed Jul 16, 2024
1 parent e5ea586 commit 0061a98
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 0061a98

Please sign in to comment.