Changeset 3040 for trunk/cmake


Ignore:
Timestamp:
07/15/15 11:50:06 (9 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes/No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Support build on OS X 10.9 and 10.10.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/withcasa.cmake

    r3035 r3040  
    66# environment dependent settings
    77if( APPLE )
    8    if( CMAKE_SYSTEM MATCHES ^Darwin-10 OR
    9         CMAKE_SYSTEM MATCHES ^Darwin-11 OR
    10         CMAKE_SYSTEM MATCHES ^Darwin-12 )
     8   if ( CMAKE_SYSTEM MATCHES ^Darwin-1[0-4] )
     9      message( STATUS "This is OS X" )
     10      if ( CMAKE_SYSTEM MATCHES ^Darwin-1[34] )
     11         set( arch darwin )
     12      endif()
    1113      if ( NOT arch )
    1214         set( arch darwin64 )
     
    3032      endif()
    3133      if( archflag STREQUAL x86_64 )
    32          if( CMAKE_SYSTEM MATCHES ^Darwin-12 )
     34         if( CMAKE_SYSTEM MATCHES ^Darwin-1[2-4] )
    3335             if ( EXISTS /opt/casa/01 )
    3436                 set( casa_packages /opt/casa/01 )
     
    7274endif()
    7375message( STATUS "arch = " ${arch} )
     76message( STATUS "casa_packages = " ${casa_packages} )
    7477
    7578# install directory
Note: See TracChangeset for help on using the changeset viewer.