On macOS, since Big Sur, the libraries were moved to a cache. The SDK comes with stubs in the SDK (`/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/` or whatever SDK version one has installed) where most have the `.tbd` suffix (although some still are `.a`). Forcing `CMAKE_FIND_LIBRARY_SUFFIXES` on Apple platforms broke building, unless one has copies of the libraries installed elsewhere (like Brew), as many libraries (like `iconv` or `pcre`) are not found. This fix disables setting the `CMAKE_FIND_LIBRARY_SUFFIXES` to `.a` if the platform is `APPLE` when building static libs.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
AddCFlagIfSupported.cmake | Loading commit data... | |
DefaultCFlags.cmake | Loading commit data... | |
EnableWarnings.cmake | Loading commit data... | |
FindCoreFoundation.cmake | Loading commit data... | |
FindGSSAPI.cmake | Loading commit data... | |
FindGSSFramework.cmake | Loading commit data... | |
FindHTTPParser.cmake | Loading commit data... | |
FindIconv.cmake | Loading commit data... | |
FindLibSSH2.cmake | Loading commit data... | |
FindPCRE.cmake | Loading commit data... | |
FindPCRE2.cmake | Loading commit data... | |
FindPkgLibraries.cmake | Loading commit data... | |
FindSecurity.cmake | Loading commit data... | |
FindStatNsec.cmake | Loading commit data... | |
Findfutimens.cmake | Loading commit data... | |
FindmbedTLS.cmake | Loading commit data... | |
IdeSplitSources.cmake | Loading commit data... | |
PkgBuildConfig.cmake | Loading commit data... | |
SanitizeBool.cmake | Loading commit data... | |
SelectGSSAPI.cmake | Loading commit data... | |
SelectHTTPParser.cmake | Loading commit data... | |
SelectHTTPSBackend.cmake | Loading commit data... | |
SelectHashes.cmake | Loading commit data... | |
SelectRegex.cmake | Loading commit data... | |
SelectSSH.cmake | Loading commit data... | |
SelectWinHTTP.cmake | Loading commit data... | |
SelectZlib.cmake | Loading commit data... |