[Bf-blender-cvs] [eef1900d51e] tmp-vfx-platform-2023: Fix failing tests on macOS due wrong library path for idiff

Brecht Van Lommel noreply at git.blender.org
Tue Nov 8 12:17:49 CET 2022


Commit: eef1900d51e20360b1249262b4b63d92fffae048
Author: Brecht Van Lommel
Date:   Tue Nov 8 12:10:59 2022 +0100
Branches: tmp-vfx-platform-2023
https://developer.blender.org/rBeef1900d51e20360b1249262b4b63d92fffae048

Fix failing tests on macOS due wrong library path for idiff

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

M	build_files/cmake/platform/platform_apple.cmake

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

diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake
index db21ccd3465..07d7036f809 100644
--- a/build_files/cmake/platform/platform_apple.cmake
+++ b/build_files/cmake/platform/platform_apple.cmake
@@ -470,7 +470,7 @@ if(PLATFORM_BUNDLED_LIBRARIES)
   # Environment variables to run precompiled executables that needed libraries.
   list(JOIN PLATFORM_BUNDLED_LIBRARY_DIRS ":" _library_paths)
   set(PLATFORM_ENV_BUILD "DYLD_LIBRARY_PATH=\"${_library_paths};${DYLD_LIBRARY_PATH}\"")
-  set(PLATFORM_ENV_INSTALL "DYLD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX_WITH_CONFIG}/lib/;$DYLD_LIBRARY_PATH")
+  set(PLATFORM_ENV_INSTALL "DYLD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX_WITH_CONFIG}Blender.app/Contents/Resources/lib/;$DYLD_LIBRARY_PATH")
   unset(_library_paths)
 endif()



More information about the Bf-blender-cvs mailing list