Re: [CMake] CMAKE_OSX_DEPLOYMENT_TARGET vs CMAKE_OSX_SYSROOT

2016-09-25 Thread James Turner
> On 25 Sep 2016, at 16:53, Braden McDaniel wrote: > > Yes, that squares with my understanding of the current semantics. > > Interestingly, in Xcode 8, the versioned SDK directory is actually a > symlink to the unversioned one. It would not surprise me if the > versioned SDK directory went awa

[CMake] Editing IMPORTED targets

2016-09-25 Thread Ivan Shapovalov
Hello! Using find modules to detect dependencies has a nice feature: it is then possible to edit the resulting cache entries to link to different libraries (or add other libraries along the found ones, for whatever purposes), or change directories, or flags, or whatever. Using find configs and IM

Re: [CMake] CMAKE_OSX_DEPLOYMENT_TARGET vs CMAKE_OSX_SYSROOT

2016-09-25 Thread Braden McDaniel
On Sun, 2016-09-25 at 11:54 +0200, Gregor Jasny wrote: > On 23/09/2016 22:35, Gregor Jasny wrote: > > > > On 20 Sep 2016, at 16:00, Braden McDaniel > > > > wrote: > > > > > > > > When setting CMAKE_OSX_SYSROOT to the unversioned directory > > > > name (using Xcode 8, as it happens) and setting >

Re: [CMake] CMAKE_OSX_DEPLOYMENT_TARGET vs CMAKE_OSX_SYSROOT

2016-09-25 Thread Gregor Jasny via CMake
On 23/09/2016 22:35, Gregor Jasny wrote: > On 21/09/2016 10:54, James Turner wrote: >> >>> On 20 Sep 2016, at 16:00, Braden McDaniel wrote: >>> >>> When setting CMAKE_OSX_SYSROOT to the unversioned directory name (using >>> Xcode 8, as it happens) and setting CMAKE_OSX_DEPLOYMENT_TARGET, I get th