Hi all,

Dunno why I didn't notice until now, but CMake seems to be doing some fragile 
checks for OS X version numbers.  Specifically in cmCPackPackageMakerGenerator, 
at least 2 things:

1) a 'double' variable:
  this->PackageCompatibilityVersion = 10.4;

10.10 will compare like 10.1 there.


2) a regex:

    if(OSX_VERSION MATCHES "^10\\.[0123]" OR OSX_VERSION MATCHES 
"ProductVersion:\t10\\.[0123]")
      message(STATUS "Forcing CTEST_TEST_CPACK=OFF on OSX < 10.4")

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada


-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to