[CMake] Problems finding dependence library

2012-09-20 Thread Reza Housseini
Hello list I have a problem finding a dependent library of my own libsieve.so: set(CPPLIB_DIR "${CMAKE_SOURCE_DIR}/../core/build") find_library(CPPLIB_SIEVE_LIBRARY NAMES libsieve PATHS CPPLIB_DIR) I have the following folder structure: core build libsieve.so project CMakeLists.txt It

Re: [CMake] Problems finding dependence library

2012-09-20 Thread Bogdan Cristea
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 -- Bo

Re: [CMake] Problems finding dependence library

2012-09-20 Thread Reza Housseini
On Thu, Sep 20, 2012 at 5:32 PM, Bogdan Cristea 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, chec

Re: [CMake] Problems finding dependence library

2012-09-21 Thread Bogdan Cristea
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 -- Powered by www.kitware.com Visit other Kitware open-sou

Re: [CMake] Problems finding dependence library

2012-09-21 Thread Reza Housseini
On Fri, Sep 21, 2012 at 1:55 PM, Bogdan Cristea 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 > > -- >