Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.

Fix iOS compilation error #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix iOS compilation error #10

wants to merge 1 commit into from

Conversation

vgrichina
Copy link

@vgrichina vgrichina commented Dec 24, 2018

Without this fix CMake failed with:

clang: warning: using sysroot for 'MacOSX' but targeting 'iPhone' [-Wincompatible-sysroot]

Can be reproduced by running:

cargo build --target=aarch64-apple-ios

Without this fix CMake failed with:

clang: warning: using sysroot for 'MacOSX' but targeting 'iPhone' [-Wincompatible-sysroot]

Can be reproduced by running:

cargo build --target=aarch64-apple-ios
@tomaka
Copy link
Contributor

tomaka commented Dec 28, 2018

I think this should be a fix in cmake-rs, and not just snappy, as it applies to all the CMake-using projects.

@vgrichina
Copy link
Author

@tomaka why other platform-specific kludges (like for macos, msvc, etc) don't live in cmake-rs then?

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

Successfully merging this pull request may close these issues.

2 participants