Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macos: autoconf failures #287

Open
timblechmann opened this issue Oct 15, 2020 · 2 comments
Open

macos: autoconf failures #287

timblechmann opened this issue Oct 15, 2020 · 2 comments

Comments

@timblechmann
Copy link

i ran into an issue related to #226 and friends:

when running cmake/conan from terminal and autoconf based recipes are compiled, we run into the issue that /Applications/Xcode11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc is called as c compiler, not /usr/bin/clang. while the trampoline binary in /usr/bin will be able to resolve standard c headers, the executable in the app bundle needs to set SDKROOT

i'm wondering what's a good strategy for this without modifying the recipes?

@timblechmann
Copy link
Author

as a temporary workaround

set(ENV{SDKROOT} "${CMAKE_OSX_SYSROOT}")

seems to work. maybe this would also be a strategy for #226?

@czoido
Copy link
Contributor

czoido commented Nov 13, 2020

Hi @timblechmann,
Did this issue happen using the develop version of cmake-conan or v0.15?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants