[CMake] Problems finding dependence library

Reza Housseini reza.housseini at gmx.ch
Fri Sep 21 08:20:17 EDT 2012


On Fri, Sep 21, 2012 at 1:55 PM, Bogdan Cristea <cristeab at gmail.com> wrote:
> On Friday 21 September 2012 07:48:27 you wrote:
>> Thank you for your answer. I tried that but it didn't work. Paths are
>> alright. I even used absolute paths. What could be the problem of
>> that?
>
> Have a look at CMakeError.log
>
> --
> Bogdan

Hello Bogdan

The problem was that I had to wrap my path variable in curly braces:

find_library(CPPLIB_SIEVE_LIBRARY NAMES sieve PATHS ${CPPLIB_DIR})

Thank you for your help!
Cheers Reza


More information about the CMake mailing list