From 44629f388a1fadd16b26a0559cd531407d29943b Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 28 Mar 2013 16:42:16 +0100 Subject: [PATCH] Changed: Define CMAKE_OSX_DEPLOYMENT_TARGET if not specified on command line --- code/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index e71a1859d..1ae01610f 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -41,6 +41,11 @@ INCLUDE(${CMAKE_ROOT}/Modules/Documentation.cmake OPTIONAL) # Force out of source builds. CHECK_OUT_OF_SOURCE() +# Specify Mac OS X deployment target before including Darwin.cmake +IF(NOT CMAKE_OSX_DEPLOYMENT_TARGET) + SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.6") +ENDIF(NOT CMAKE_OSX_DEPLOYMENT_TARGET) + CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(RyzomCore CXX C) SET(NL_VERSION_MAJOR 0)