Skip to content

Commit

Permalink
Restore previous rocm_install_targets behavior on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
apwojcik committed Sep 11, 2024
1 parent b662b92 commit 2a9f277
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 2a9f277

Please sign in to comment.