[CMake] OSX deployment target confusion for 2.8.10

Brad King brad.king at kitware.com
Wed Nov 7 08:33:15 EST 2012


On 11/06/2012 03:29 PM, Matthew Brett wrote:
> $ ls /Library/Frameworks | grep Qt
> Qt3Support.framework
> QtCore.framework

Okay.

> $ ls -al /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/
> total 8
> drwxr-xr-x  4 root  wheel  136 Jul 13 21:21 .
> drwxr-xr-t  3 root  wheel  102 Feb 14  2011 ..
> lrwxr-xr-x  1 root  wheel   19 Jul 13 21:21 Frameworks -> /Library/Frameworks
> drwxr-xr-x  3 root  wheel  102 Jan  4  2011 PluginManager.framework

This looks incorrect.  Why does the Frameworks/ directory contain
a Frameworks symlink?  That means one would need a search path like

 /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/Frameworks

to find them.  Did something modify this SDK since it was installed?

> Output of adding -v:

I think we need "-Wl,-v" to get the linker to tell us what framework
search path it is using.  Try with and without the -isysroot option.

Thanks,
-Brad


More information about the CMake mailing list