Skip to content

Darwin: honour `CMAKE_OSX_SYSROOT` more faithfully

Saleem Abdulrasool requested to merge compnerd/cmake:sdk-libraries into master

The libraries in the SDK should be given precedence over the system libraries. Check for the default library search path (in default order) of /usr/lib and /usr/local/lib and use these as system prefix paths for libraries when performing the link step against a specified SDK.

Topic-rename: macos-sdk-libraries

Edited by Brad King

Merge request reports