JuliaInterop / Cxx.jl

The Julia C++ Interface
Other
757 stars 108 forks source link

Fix headers not being found on macOS Catalina. #447

Closed tkonolige closed 4 years ago

tkonolige commented 4 years ago

Using xcrun instead of xcode-select will give us the proper paths.

I haven't tested this patch against older versions of macOS. It looks like it should work on Mojave (https://apple.stackexchange.com/questions/337940/why-is-usr-include-missing-i-have-xcode-and-command-line-tools-installed-moja).

This should fix #442.

Gnimuc commented 4 years ago

Thanks!