[Bf-blender-cvs] [b2bee8416b0] master: Fix oslc precompiled binary not working on macOS due to wrong rpath

Brecht Van Lommel noreply at git.blender.org
Sun Dec 11 15:08:57 CET 2022


Commit: b2bee8416b0fbf5fbc70a57494c5827a3d8265ef
Author: Brecht Van Lommel
Date:   Sun Dec 11 15:07:27 2022 +0100
Branches: master
https://developer.blender.org/rBb2bee8416b0fbf5fbc70a57494c5827a3d8265ef

Fix oslc precompiled binary not working on macOS due to wrong rpath

===================================================================

M	build_files/build_environment/cmake/harvest.cmake

===================================================================

diff --git a/build_files/build_environment/cmake/harvest.cmake b/build_files/build_environment/cmake/harvest.cmake
index 8c9cf1fb878..10d0c414303 100644
--- a/build_files/build_environment/cmake/harvest.cmake
+++ b/build_files/build_environment/cmake/harvest.cmake
@@ -218,7 +218,7 @@ harvest_rpath_lib(openvdb/lib openvdb/lib "*${SHAREDLIBEXT}*")
 harvest_rpath_python(openvdb/lib/python${PYTHON_SHORT_VERSION} python/lib/python${PYTHON_SHORT_VERSION} "*pyopenvdb*")
 harvest(xr_openxr_sdk/include/openxr xr_openxr_sdk/include/openxr "*.h")
 harvest(xr_openxr_sdk/lib xr_openxr_sdk/lib "*.a")
-harvest(osl/bin osl/bin "oslc")
+harvest_rpath_bin(osl/bin osl/bin "oslc")
 harvest(osl/include osl/include "*.h")
 harvest(osl/lib osl/lib "*.a")
 harvest(osl/share/OSL/shaders osl/share/OSL/shaders "*.h")



More information about the Bf-blender-cvs mailing list