| 41 | platform darwin 9 { |
| 42 | # Upgrade MacOSX SDK version to 10.5, for compatibility with qt4-mac |
| 43 | post-patch { |
| 44 | reinplace "s:-mmacosx-version-min=10.4:-mmacosx-version-min=10.5:" ${worksrcpath}/CMakeLists.txt |
| 45 | reinplace "s:SET(CMAKE_OSX_DEPLOYMENT_TARGET \"10.4\"):SET(CMAKE_OSX_DEPLOYMENT_TARGET \"10.5\"):" ${worksrcpath}/CMakeLists.txt |
| 46 | reinplace "s:MacOSX10.4u.sdk:MacOSX10.5.sdk:" ${worksrcpath}/CMakeLists.txt |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | platform darwin 10 { |
| 51 | # Upgrade MacOSX SDK version to 10.5, for compatibility with qt4-mac |
| 52 | post-patch { |
| 53 | reinplace "s:-mmacosx-version-min=10.4:-mmacosx-version-min=10.5:" ${worksrcpath}/CMakeLists.txt |
| 54 | reinplace "s:SET(CMAKE_OSX_DEPLOYMENT_TARGET \"10.4\"):SET(CMAKE_OSX_DEPLOYMENT_TARGET \"10.5\"):" ${worksrcpath}/CMakeLists.txt |
| 55 | reinplace "s:MacOSX10.4u.sdk:MacOSX10.5.sdk:" ${worksrcpath}/CMakeLists.txt |
| 56 | } |
| 57 | } |
| 58 | |