From 4f673fd7507df561722ca973fc358341683a978a Mon Sep 17 00:00:00 2001 From: Paul Henning Date: Mon, 16 Sep 2024 10:43:57 -0600 Subject: [PATCH] Fix search paths to find arrow libraries --- python/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index eda4ff4ca5f07..dfb92ae8ba1c8 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -102,7 +102,8 @@ if(UNIX) # loaded properly if(APPLE) set(CMAKE_INSTALL_NAME_DIR "@rpath") - set(CMAKE_INSTALL_RPATH "@loader_path/") + set(CMAKE_INSTALL_RPATH "@loader_path") + set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) else() set(CMAKE_INSTALL_RPATH "\$ORIGIN") endif()