Commit 12a7ecaf authored by Tijana Vukovic's avatar Tijana Vukovic
Browse files

Added MIOpen.dll copy to build/bin directory for Windows

parent 482e8d61
...@@ -282,3 +282,10 @@ rocm_install_targets( ...@@ -282,3 +282,10 @@ rocm_install_targets(
INCLUDE INCLUDE
${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/include
) )
if(WIN32)
add_custom_command(TARGET migraphx_gpu POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy "${MIOPEN_LOCATION}" $<TARGET_FILE_DIR:migraphx_gpu>
COMMAND_EXPAND_LISTS
)
endif()
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment