problem with connecting c++ libraries installed via homebrew macos m1

23 views Asked by At

I installed the libmemcached library via homebrew and it is located at the path


/opt/homebrew/Cellar/libmemcached/


but I cannot find it via cmake. I get a message about the absence of


libmemcachedConfig.cmake.

My thoughts:

As far as I understand cmake is looking for files, libraries and include in the


/usr/local...,


I made a symlink from /opt/homebrew to /usr/local, but nothing has changed. If I think homebrew has installed the library correctly, then the problem is in the file paths.

0

There are 0 answers