← Back to team overview

kicad-developers team mailing list archive

OSX: Configurable OS X target version for building KiCad

 

Hi all,

the attached bzr-bundle/patch (against 5302) removes the hard-coded “-mmacosx-min-version=10.5” parameters for KiCad, internal boost, and wxWidgets build script.
Instead, it is now required to specify the target version using the existing CMake parameter "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.x” during KiCad configuration (or, wxWidgets build script).
It was done on purpose to force an explicit specification of the target version, because if nothing is specified various packages seem to set different defaults, which might cause problems.
Compiling documentation has been adapted accordingly.

Note:
Setting "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.7” (instead of default 10.5 that was hardcoded before) seems to fix the red-blob problem with eeschema on recent OS X versions.


Regards,
Bernhard

Attachment: osx-target.bzr
Description: Binary data

Attachment: osx-target.patch
Description: Binary data


Follow ups