[CMake] Problems finding dependence library

Reza Housseini reza.housseini at gmx.ch
Fri Sep 21 01:48:27 EDT 2012


On Thu, Sep 20, 2012 at 5:32 PM, Bogdan Cristea <cristeab at gmail.com> wrote:
> On Thursday 20 September 2012 17:25:35 Reza Housseini wrote:
>> set(CPPLIB_DIR "${CMAKE_SOURCE_DIR}/../core/build")
>> find_library(CPPLIB_SIEVE_LIBRARY NAMES libsieve PATHS CPPLIB_DIR)
>
> Use instead sieve for your library name. Also, check with
> message(${CPPLIB_DIR})
> the path to your library
>
> --
> Bogdan
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake

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?


More information about the CMake mailing list