Re: [CMake] Find packages coming from homebrew

2016-11-23 Thread Roger Leigh
On 23/11/16 14:55, Cedric Doucet wrote: Hello, I would like to write some FindFoo.cmake files to find packages installed on different systems including Mac. I have noticed that homebrew install packages in a repertory whose name depends on the version of the package. For example, I have install

Re: [CMake] Find packages coming from homebrew

2016-11-23 Thread Harry Mallon
Hi Cedric, You might be interested in "brew --prefix" which gives you the location of the brew install. e.g. for me. % brew --prefix /usr/local Also brew symlinks the current version of all programs into the "brew --prefix" folder. Do "ls -lah /usr/local/bin" and you should see what I mean. I

[CMake] Find packages coming from homebrew

2016-11-23 Thread Cedric Doucet
Hello, I would like to write some FindFoo.cmake files to find packages installed on different systems including Mac. I have noticed that homebrew install packages in a repertory whose name depends on the version of the package. For example, I have installed a scientific library called scotch