Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/withcasa.cmake

    r2400 r2273  
    66# environment dependent settings
    77if( APPLE )
    8    if( CMAKE_SYSTEM MATCHES ^Darwin-10 OR
    9                 CMAKE_SYSTEM MATCHES ^Darwin-11 )
    10       if ( NOT arch )
    11          set( arch darwin64 )
    12       endif()
     8   if( NOT arch )
     9      set( arch darwin )
     10   endif()
     11   if( CMAKE_SYSTEM MATCHES ^Darwin-10 )
    1312      if( NOT archflag )
    14          if( EXISTS /opt/casa/darwin11 )
    15             set( archflag x86_64 )
    16          elseif( EXISTS /opt/casa/darwin10-64b )
     13         if( EXISTS /opt/casa/darwin10-64b )
    1714            set( archflag x86_64 )
    1815         elseif( EXISTS /opt/casa/core2-apple-darwin10 )
     
    2320      endif()
    2421      if( archflag STREQUAL x86_64 )
    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()
     22         set( casa_packages /opt/casa/darwin10-64b )
    3023      else()
    3124         set( casa_packages /opt/casa/core2-apple-darwin10 )
    3225      endif()
    3326   elseif( CMAKE_SYSTEM MATCHES ^Darwin-9 )
    34       if ( NOT arch )
    35          set( arch darwin )
    36       endif()
    3727      set( casa_packages /opt/casa/core2-apple-darwin8/3rd-party )
    3828   endif()         
Note: See TracChangeset for help on using the changeset viewer.