Skip to content

Commit

Permalink
brind back old behavior rocm_intall() on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
apwojcik committed Jul 22, 2024
1 parent fe531bc commit 236a4d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion share/rocmcmakebuildtools/cmake/ROCMInstallTargets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,11 @@ function(rocm_install_targets)
set(EXPORT_FILE ${PARSE_EXPORT})
endif()

if(PARSE_PREFIX)
if(WIN32)
set(BIN_INSTALL_DIR ${CMAKE_INSTALL_BINDIR})
set(LIB_INSTALL_DIR ${ROCM_INSTALL_LIBDIR})
set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR})
elseif(PARSE_PREFIX)
set(PREFIX_DIR ${PARSE_PREFIX})
if(PARSE_PRIVATE)
set(BIN_INSTALL_DIR ${PARSE_PREFIX}/${ROCM_INSTALL_LIBDIR}/${PROJECT_NAME}/bin)
Expand Down

0 comments on commit 236a4d0

Please sign in to comment.