Changeset 2400 for trunk/cmake
- Timestamp:
- 01/20/12 19:04:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/withcasa.cmake
r2399 r2400 6 6 # environment dependent settings 7 7 if( APPLE ) 8 if( CMAKE_SYSTEM MATCHES ^Darwin-10 ) 8 if( CMAKE_SYSTEM MATCHES ^Darwin-10 OR 9 CMAKE_SYSTEM MATCHES ^Darwin-11 ) 9 10 if ( NOT arch ) 10 11 set( arch darwin64 ) 11 12 endif() 12 13 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 ) 14 17 set( archflag x86_64 ) 15 18 elseif( EXISTS /opt/casa/core2-apple-darwin10 ) … … 20 23 endif() 21 24 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() 23 30 else() 24 31 set( casa_packages /opt/casa/core2-apple-darwin10 )
Note:
See TracChangeset
for help on using the changeset viewer.