Changeset 2893 for trunk/cmake


Ignore:
Timestamp:
01/20/14 21:00:50 (11 years ago)
Author:
Kana Sugimoto
Message:

New Development: Yes

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: make on OSX 10.8

Put in Release Notes: No

Module(s): asap with casa

Description: Updated CMake file for OSX 10.8.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/withcasa.cmake

    r2872 r2893  
    77if( APPLE )
    88   if( CMAKE_SYSTEM MATCHES ^Darwin-10 OR
    9                 CMAKE_SYSTEM MATCHES ^Darwin-11 )
     9                CMAKE_SYSTEM MATCHES ^Darwin-11 OR
     10                CMAKE_SYSTEM MATCHES ^Darwin-12 )
    1011      if ( NOT arch )
    1112         set( arch darwin64 )
    1213      endif()
    1314      if( NOT archflag )
    14          if( EXISTS /opt/casa/darwin11 )
     15         if( EXISTS /opt/casa/darwin12 )
     16            set( archflag x86_64 )
     17         elseif( EXISTS /opt/casa/darwin11 )
    1518            set( archflag x86_64 )
    1619         elseif( EXISTS /opt/casa/darwin10-64b )
     
    2326      endif()
    2427      if( archflag STREQUAL x86_64 )
    25          if( CMAKE_SYSTEM MATCHES ^Darwin-11 )
     28         if( CMAKE_SYSTEM MATCHES ^Darwin-12 )
     29             set( casa_packages /opt/local )
     30         elseif( CMAKE_SYSTEM MATCHES ^Darwin-11 )
    2631             set( casa_packages /opt/casa/darwin11 )
    2732         else()
Note: See TracChangeset for help on using the changeset viewer.