[cmake-developers] [CMake 0015554]: Wrong OSX version comparison

Mantis Bug Tracker mantis at public.kitware.com
Tue May 5 13:59:57 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15554 
====================================================================== 
Reported By:                Bogdan Chisamera
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15554
Category:                   CPack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-05-05 13:59 EDT
Last Modified:              2015-05-05 13:59 EDT
====================================================================== 
Summary:                    Wrong OSX version comparison
Description: 
When trying to build CMake from sources, at the Configure step I'm receiving the
following message:
...
Forcing CTEST_TEST_CPACK=OFF on OSX < 10.4
OSX_VERSION='10.10.3'
Unable to find any JVMs matching version "(null)".

No Java runtime present, try --request to install.

It seems that the osx verion is compared as a string resultig osx 10.10.3 to be
considered les than osx 10.4. 

Steps to Reproduce: 
- download latest cmake sources
- download and install latest cmake for osx
- open cmake gui, then select the sources dir and the destination folder
- Configure
- select Xcode as genarator and "Use default native compilers"
Result: after configuring is done you'll have the message posted above and some
of the tests are missing from the solution.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-05-05 13:59 Bogdan ChisameraNew Issue                                    
======================================================================



More information about the cmake-developers mailing list