Fix rpath for macOS for _onedal_py.so file
@@ -33,7 +33,7 @@ elseif(UNIX)
set(SDL_FLAGS "-fstack-protector-strong -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -fno-strict-overflow -fno-delete-null-pointer-checks")
if(APPLE)
set(ONEDAL_PY_LINK_OPTIONS "-fwrapv")
- set(CMAKE_INSTALL_RPATH "@executable_path/../../../")
+ set(CMAKE_INSTALL_RPATH "@loader_path/../../../")
else()
set(ONEDAL_PY_LINK_OPTIONS "-Wl,-z,noexecstack,-z,relro,-z,now,-fstack-protector-strong,-fno-strict-overflow,-fno-delete-null-pointer-checks,-fwrapv")
set(CMAKE_INSTALL_RPATH "$ORIGIN/../../../")
