Changeset 2400 for trunk/cmake


Ignore:
Timestamp:
01/20/12 19:04:16 (12 years ago)
Author:
Kana Sugimoto
Message:

New Development: Yes

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: build asap

Put in Release Notes: No

Module(s): asap

Description: Added cmake definitions to build asap on OSX 10.7 Lion


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/withcasa.cmake

    r2399 r2400  
    66# environment dependent settings
    77if( APPLE )
    8    if( CMAKE_SYSTEM MATCHES ^Darwin-10 )
     8   if( CMAKE_SYSTEM MATCHES ^Darwin-10 OR
     9                CMAKE_SYSTEM MATCHES ^Darwin-11 )
    910      if ( NOT arch )
    1011         set( arch darwin64 )
    1112      endif()
    1213      if( NOT archflag )
    13          if( EXISTS /opt/casa/darwin10-64b )
     14         if( EXISTS /opt/casa/darwin11 )
     15            set( archflag x86_64 )
     16         elseif( EXISTS /opt/casa/darwin10-64b )
    1417            set( archflag x86_64 )
    1518         elseif( EXISTS /opt/casa/core2-apple-darwin10 )
     
    2023      endif()
    2124      if( archflag STREQUAL x86_64 )
    22          set( casa_packages /opt/casa/darwin10-64b )
     25         if( CMAKE_SYSTEM MATCHES ^Darwin-11 )
     26             set( casa_packages /opt/casa/darwin11 )
     27         else()
     28             set( casa_packages /opt/casa/darwin10-64b )
     29         endif()
    2330      else()
    2431         set( casa_packages /opt/casa/core2-apple-darwin10 )
Note: See TracChangeset for help on using the changeset viewer.