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
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:
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
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
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.