[cmake-developers] How should Mac frameworks work?

Stephen Kelly steveire at gmail.com
Mon Jul 1 12:51:01 EDT 2013


Clinton Stimpson wrote:

> 
> With the refactor IMPORTED_LOCATION in generated export files went from
> /path/to/foo.framework/foo
> to
> /path/to/foo.framework/Version/A/foo
> That change naturally came out of the refactor.
> 
> Since for non-frameworks, the property is the location of the actual file
> on disk, it seemed this was a good change.
> 

Thanks for the info. Does this mean that before 2.8.11, I should populate 
the IMPORTED_LOCATION with /path/to/foo.framework/foo, and after I should 
populate it with /path/to/foo.framework/Version/A/foo ? 

If there is no version check in the export file, doesn't that mean that an 
export generated with 2.8.11 does not work with earlier versions? That's 
something that should be switched on a version check if it works differently 
with earlier versions.

Thanks,

Steve.





More information about the cmake-developers mailing list