macOS: /usr/local/lib not a system library directory under CMake
Libraries installed into
/usr/local/lib are not found anymore when linking through CMake (libraries installed through Brew will end up there by default). This seems to be caused by CMake setting
-isysroot <dir>, which will override the system search directories.
This is a new problem, I'm not sure if this is an issue with a newer version of CMake or macOS SDK.