Skip to content

Commit

Permalink
fixing macos rpath
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnaf-tahmid-chowdhury committed May 5, 2024
1 parent bbf8c4e commit 665dc16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/PyneMacros.cmake
Expand Up @@ -13,7 +13,8 @@ endmacro()
# Configure RPATH
macro(pyne_configure_rpath)
if(APPLE)
set(RPATH "@loader_path")
set(CMAKE_MACOSX_RPATH ON)
set(RPATH "@rpath")
elseif(UNIX)
set(RPATH "$ORIGIN")
else()
Expand Down

0 comments on commit 665dc16

Please sign in to comment.