From 9921e86790230c01e5ff5bab3ee6f73d75fd9c5f Mon Sep 17 00:00:00 2001 From: Nikolay Kasyanov Date: Wed, 27 Jul 2011 14:15:28 +0400 Subject: [PATCH] Forcing to build with 10.6 sdk on OS X. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 58c4ebae0..5e2d00e1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,9 @@ project(OpenMW) IF (APPLE) set(APP_BUNDLE_DIR "${OpenMW_BINARY_DIR}/OpenMW.app") + + # using 10.6 sdk + set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.6.sdk") ENDIF (APPLE) # Sound source selection