Re: [CMake] Protobuf Libraries not found on OS X

2015-09-05 Thread Klaim - Joël Lamotte
On 3 September 2015 at 19:48, Michael Jackson wrote: > I have compiled the Protocol Buffer library on OS X and I am using the > following CMake code to try and find the compiled libraries: > > find_package(Protobuf REQUIRED) > > > but when configuring I get the usual > > CMake Error: The followin

Re: [CMake] Protobuf Libraries not found on OS X

2015-09-04 Thread Michael Jackson
Daniel Schepler wrote: > Doesn't CMAKE_PREFIX_PATH work for you? > -- > Daniel Schepler > From: CMake [cmake-boun...@cmake.org] on behalf of Michael Jackson > [mike.jack...@bluequartz.net] > Sent: Friday, September 04, 2015 10:33 AM > To: CMake list > Subject: Re:

Re: [CMake] Protobuf Libraries not found on OS X

2015-09-04 Thread Daniel Schepler
Doesn't CMAKE_PREFIX_PATH work for you? -- Daniel Schepler From: CMake [cmake-boun...@cmake.org] on behalf of Michael Jackson [mike.jack...@bluequartz.net] Sent: Friday, September 04, 2015 10:33 AM To: CMake list Subject: Re: [CMake] Protobuf Libraries not

Re: [CMake] Protobuf Libraries not found on OS X

2015-09-04 Thread Michael Jackson
Odd, I built from source and there does not seem to be any way to add a custom search path (akin to QtDir or something like that) for the searching. I added a few lines to the FindProtobuf.cmake file to make it look for "Protobuf_DIR" as an environment variable. If I installed it into /usr/local

[CMake] Protobuf Libraries not found on OS X

2015-09-03 Thread Michael Jackson
I have compiled the Protocol Buffer library on OS X and I am using the following CMake code to try and find the compiled libraries: find_package(Protobuf REQUIRED) but when configuring I get the usual CMake Error: The following variables are used in this project, but they are set to NOTFOUND.