OSX: some more version target cleanups and corrections

This commit is contained in:
Jens Verwiebe
2012-11-07 10:43:31 +00:00
parent 53ede28fcb
commit a68416e681
3 changed files with 6 additions and 8 deletions

View File

@@ -291,7 +291,7 @@ if(APPLE)
message(STATUS "Detected system-version: " ${OSX_SYSTEM})
if(NOT CMAKE_OSX_DEPLOYMENT_TARGET)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.5" CACHE STRING "" FORCE) # 10.5 is our minimum target, if you have higher sdk, weak linking happens
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.6" CACHE STRING "" FORCE) # 10.6 is our minimum target, if you have higher sdk, weak linking happens - with 10.5 we have a still not solved problems, build those with 10.5.sdk !!!
endif()
if(${CMAKE_GENERATOR} MATCHES "Xcode")