| 697 | | IF(EXISTS /Developer/SDKs/MacOSX10.5.sdk) |
| | 697 | IF(EXISTS /Developer/SDKs/MacOSX10.6.sdk) |
| | 698 | SET(CMAKE_OSX_ARCHITECTURES "i386;x86_64" CACHE STRING "Build architectures for OSX" FORCE) |
| | 699 | SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.6 -ftree-vectorize -fvisibility-inlines-hidden" CACHE STRING "Flags used by the compiler during all build types." FORCE) |
| | 700 | SET(OSG_WINDOWING_SYSTEM "Cocoa" CACHE STRING "Forced Cocoa windowing system in 64 bits snow leopard" FORCE) |
| | 701 | SET(OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX "imageio " CACHE STRING "Forced imageio default image plugin for OSX in 64 bits snow leopard" FORCE) |
| | 702 | ELSEIF(EXISTS /Developer/SDKs/MacOSX10.5.sdk) |