1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-24 04:15:57 +00:00

cmake: rpath take 2, re previous commit [eea16e], use global

property `ZINT_LIBDIR` hack to set in both CLI and GUI, whether
  macOS or not (ticket #346, props Hagen Röwer and Bryce Harrison)
This commit is contained in:
gitlost
2026-01-21 22:41:18 +00:00
parent 0efc4fb021
commit 1ba5ba41fb
5 changed files with 16 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
% README.macos 2025-10-02
% README.macos 2026-01-21
% Tested on macOS 12.7.2 Monterey VirtualBox (thanks to https://github.com/myspaghetti/macos-virtualbox)
% and macOS 14.8.3 Sonoma (thanks to https://github.com/kholia/OSX-KVM)
1. Prerequisites for building zint and zint-qt
==============================================
@@ -10,14 +11,11 @@ First if not already installed, install the developer command line tools
xcode-select --install
This can take a (very) long time. Once done, check for updates by selecting "System Preferences" > "Software Update",
and clicking "Advanced" and "OK" (with all the checkboxes set) to trigger the check. If updates are found, install.
This can also take a long time.
With the latest versions of the command line tools, "/usr/include" no longer has the standard C include files. Set
SDKROOT to overcome this (https://stackoverflow.com/a/60002595/664741)
(On Monterey but not Sonoma or later, the latest versions of the command line tools may not have "/usr/include"
in the standard C include directories. Set SDKROOT to overcome this (https://stackoverflow.com/a/60002595/664741)
export SDKROOT=$(xcrun --sdk macosx --show-sdk-path)
)
Install Homebrew (unless already installed)