[cmake-developers] [CMake 0013061]: Strange code in Darwin.cmake

Mantis Bug Tracker mantis at public.kitware.com
Fri Mar 23 16:49:51 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13061 
====================================================================== 
Reported By:                Michael Toy
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13061
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-03-23 16:49 EDT
Last Modified:              2012-03-23 16:49 EDT
====================================================================== 
Summary:                    Strange code in Darwin.cmake
Description: 
Pretty sure line 121 is wrong ... guessing maybe it was meant to be:

    ELSE(NOT ENV_CMAKE_OSX_SYSROOT_DEFAULT STREQUAL "")

( original source )
118 # Use environment or default as initial cache value:
119 IF(NOT ENV_SDKROOT STREQUAL "")
120 	SET(CMAKE_OSX_SYSROOT_VALUE ${ENV_SDKROOT})
121 ELSE(NOT ENV_SDKROOT STREQUAL "")
122 	SET(CMAKE_OSX_SYSROOT_VALUE ${CMAKE_OSX_SYSROOT_DEFAULT})
123 ENDIF(NOT ENV_SDKROOT STREQUAL "") 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-03-23 16:49 Michael Toy    New Issue                                    
======================================================================




More information about the cmake-developers mailing list