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")

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to