Re: [cmake-developers] CMake 3.5.2 conflates OSX SDK version with target deployment

2016-05-26 Thread Brad King
On 05/25/2016 02:50 PM, clin...@elemtech.com wrote: > I don't think we need the warning. > A different version for deployment target and SDK is common. Thanks. Dropped: OS X: Drop warning about SDK and deployment target version mismatch

Re: [cmake-developers] CMake 3.5.2 conflates OSX SDK version with target deployment

2016-05-25 Thread clinton
- On May 25, 2016, at 12:38 PM, Brad King brad.k...@kitware.com wrote: > On 05/25/2016 02:31 PM, Sean McBride wrote: >> CMake should probably default to the newest SDK (which is what Xcode does). >> I don't see a reason to default to an SDK "matching" the deployment target, >> in fact it's

Re: [cmake-developers] CMake 3.5.2 conflates OSX SDK version with target deployment

2016-05-25 Thread Brad King
On 05/25/2016 02:31 PM, Sean McBride wrote: > CMake should probably default to the newest SDK (which is what Xcode does). > I don't see a reason to default to an SDK "matching" the deployment target, > in fact it's problematic these days since they no longer provider older SDKs. > > Of course,

Re: [cmake-developers] CMake 3.5.2 conflates OSX SDK version with target deployment

2016-05-25 Thread Sean McBride
On Sat, 21 May 2016 22:50:41 -0700, James Burgess said: >If your set CMAKE_OSX_DEPLOYMENT_TARGET in order to get find modules to >work on Xcode6 or above you get this message: > >$ cmake -D CMAKE_OSX_DEPLOYMENT_TARGET=10.8 . > CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but the matching SDK does not

Re: [cmake-developers] CMake 3.5.2 conflates OSX SDK version with target deployment

2016-05-23 Thread Gregor Jasny via cmake-developers
I'm away from keyboard until June 8th. everything written is from the top of my head. AFAIR the warning goes away if you properly set the OSX SYSROOT. Setting it to macosx without version number should be sufficient (maybe you have to insert a xcrun --showsdk-path there). As far as I see the

Re: [cmake-developers] CMake 3.5.2 conflates OSX SDK version with target deployment

2016-05-23 Thread Brad King
On 05/22/2016 01:50 AM, James Burgess wrote: > $ cmake -D CMAKE_OSX_DEPLOYMENT_TARGET=10.8 . > CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but the matching SDK does not exist > at: > > > "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk" > >

[cmake-developers] CMake 3.5.2 conflates OSX SDK version with target deployment

2016-05-21 Thread James Burgess
If your set CMAKE_OSX_DEPLOYMENT_TARGET in order to get find modules to work on Xcode6 or above you get this message: $ cmake -D CMAKE_OSX_DEPLOYMENT_TARGET=10.8 . CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but the matching SDK does not exist at: