- Timestamp:
- 01/20/14 21:00:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/withcasa.cmake
r2872 r2893 7 7 if( APPLE ) 8 8 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 ) 10 11 if ( NOT arch ) 11 12 set( arch darwin64 ) 12 13 endif() 13 14 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 ) 15 18 set( archflag x86_64 ) 16 19 elseif( EXISTS /opt/casa/darwin10-64b ) … … 23 26 endif() 24 27 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 ) 26 31 set( casa_packages /opt/casa/darwin11 ) 27 32 else()
Note:
See TracChangeset
for help on using the changeset viewer.