Skip to content

Commit

Permalink
fix mac release: copy dylibs
Browse files Browse the repository at this point in the history
  • Loading branch information
elgiano committed Jun 26, 2023
1 parent a388e5d commit 1864869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ if (CUSTOM_TORCH)
)
set(CMAKE_INSTALL_RPATH "$ORIGIN/ignore")
elseif (APPLE)
file(GLOB TORCH_SO "${TORCH_INSTALL_PREFIX}/*.dylib")
file(GLOB TORCH_SO "${TORCH_INSTALL_PREFIX}/lib/*.dylib")
set(CMAKE_INSTALL_RPATH "@executable_path/ignore")
elseif (MSVC)
file(GLOB TORCH_SO "${TORCH_INSTALL_PREFIX}/lib/*.dll")
Expand Down

0 comments on commit 1864869

Please sign in to comment.