From b4ac2ef8c83ffceb2e2d6d79d1affa4a35ad3054 Mon Sep 17 00:00:00 2001 From: Bernhard Miklautz Date: Mon, 23 Sep 2013 23:29:55 +0200 Subject: [PATCH] osx build: make 10.7 default deployment target 10.6 isn't shipped with xcode > 4.4 anymore per default If older/newer deployment target is required it can be set with -DCMAKE_OSX_DEPLOYMENT_TARGET=10.x --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 18ef1e858..85446b9da 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -248,7 +248,7 @@ if(APPLE) set_property(GLOBAL PROPERTY XCODE_ATTRIBUTE_SKIP_INSTALL YES) else() if(NOT DEFINED CMAKE_OSX_DEPLOYMENT_TARGET OR CMAKE_OSX_DEPLOYMENT_TARGET MATCHES "") - set(CMAKE_OSX_DEPLOYMENT_TARGET 10.6 CACHE STRING "OSX deployment target" FORCE) + set(CMAKE_OSX_DEPLOYMENT_TARGET 10.7 CACHE STRING "OSX deployment target" FORCE) endif() if(NOT DEFINED CMAKE_OSX_ARCHITECTURES)