Skip to content

Commit

Permalink
Added moving the DLLs if it is a dist release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Oct 2, 2023
1 parent 4e11fa4 commit 7f32b52
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions etc/SuperBuild/cmake/Modules/BuildUSD.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ if(WIN32)
# in "bin" instead.
cmake_path(CONVERT ${CMAKE_INSTALL_PREFIX} TO_NATIVE_PATH_LIST cmake_install)
set(USD_INSTALL_COMMAND
${CMAKE_COMMAND} -E copy_directory ${CMAKE_INSTALL_PREFIX}/lib/usd ${CMAKE_INSTALL_PREFIX}/bin/usd
COMMAND copy "${cmake_install}\\lib\\*.dll" "${cmake_install}\\bin")
${CMAKE_COMMAND} -E copy_directory ${CMAKE_INSTALL_PREFIX}/lib/usd ${CMAKE_INSTALL_PREFIX}/bin/usd)
COMMAND copy "${cmake_install}\\lib\\*.dll" "${cmake_install}\\bin")
if(MRV2_DIST_RELEASE)
list(APPEND USD_INSTALL_COMMAND
COMMAND del "${cmake_install}\\lib\\*.dll")
endif()
endif()

ExternalProject_Add(
Expand Down

0 comments on commit 7f32b52

Please sign in to comment.