Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/withcasa.cmake

    r2273 r2400  
    66# environment dependent settings
    77if( APPLE )
    8    if( NOT arch )
    9       set( arch darwin )
    10    endif()
    11    if( CMAKE_SYSTEM MATCHES ^Darwin-10 )
     8   if( CMAKE_SYSTEM MATCHES ^Darwin-10 OR
     9                CMAKE_SYSTEM MATCHES ^Darwin-11 )
     10      if ( NOT arch )
     11         set( arch darwin64 )
     12      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 )
    2532      endif()
    2633   elseif( CMAKE_SYSTEM MATCHES ^Darwin-9 )
     34      if ( NOT arch )
     35         set( arch darwin )
     36      endif()
    2737      set( casa_packages /opt/casa/core2-apple-darwin8/3rd-party )
    2838   endif()         
Note: See TracChangeset for help on using the changeset viewer.