[cmake-developers] Fragile OS X version checks failing against 10.10

Brad King brad.king at kitware.com
Fri Dec 12 15:19:10 EST 2014


On 12/12/2014 12:20 PM, Sean McBride wrote:
> in cmCPackPackageMakerGenerator
>   this->PackageCompatibilityVersion = 10.4;

I would appreciate help (a patch) for this one from anyone that
is interested in trying to use the long-deprecated PackageMaker
tool on OS X 10.10 or above.

>     if(OSX_VERSION MATCHES "^10\\.[0123]" OR OSX_VERSION MATCHES "ProductVersion:\t10\\.[0123]")

Here is a fix for this one:

 Tests: Fix OS X version check to use component-wise test
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f53a3340

Thanks,
-Brad



More information about the cmake-developers mailing list