Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdl: fix installing on macos with sdl_image from homebrew #875

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

Daft-Freak
Copy link
Collaborator

Fixes this:

CMake Error at /opt/homebrew/Cellar/cmake/3.30.5/share/cmake/Modules/BundleUtilities.cmake:458 (message):
  otool -l failed: 1

  error:
  /Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic:
  can't open file: @rpath/libjxl_cms.0.11.dylib (No such file or directory)

Call Stack (most recent call first):
  /opt/homebrew/Cellar/cmake/3.30.5/share/cmake/Modules/BundleUtilities.cmake:527 (get_item_rpaths)
  /opt/homebrew/Cellar/cmake/3.30.5/share/cmake/Modules/BundleUtilities.cmake:649 (set_bundle_key_values)
  /opt/homebrew/Cellar/cmake/3.30.5/share/cmake/Modules/BundleUtilities.cmake:933 (get_bundle_keys)
  /Users/runner/work/super-blit-kart/main/build/fixup.cmake:3 (fixup_bundle)
  /Users/runner/work/super-blit-kart/main/build/cmake_install.cmake:51 (include)


CPack Error: Error when generating package: blit-kart
make: *** [package] Error 1

(Because we really need to bundle JPEG XL libraries...)

@Daft-Freak Daft-Freak merged commit 9260b49 into master Nov 8, 2024
18 checks passed
@Daft-Freak Daft-Freak deleted the patch-macos-bundle-fix-again branch November 8, 2024 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant