Skip to content

Commit

Permalink
Don't set CMAKE_OSX_DEPLOYMENT_TARGET for old Xcode either
Browse files Browse the repository at this point in the history
  • Loading branch information
jdonald committed Sep 28, 2016
1 parent 2b20a37 commit faf7248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standard/StandardProject.cmake
Expand Up @@ -117,7 +117,7 @@ function(standard_project_preinit)
set(CMAKE_OSX_SYSROOT "macosx${_developer_sdk_version}" CACHE STRING "Mac OS X build environment" FORCE)
endif()
endif()
if(NOT CMAKE_OSX_DEPLOYMENT_TARGET)
if(_developer_sdk_version AND NOT CMAKE_OSX_DEPLOYMENT_TARGET)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Mac OS X deployment target" FORCE)
endif()
endif()
Expand Down

0 comments on commit faf7248

Please sign in to comment.