Re: [CMake] linker default library path /usr/local/lib on OSX

2011-09-22 Thread amine bezzarga
Any ideas about how to override the "install_name" of /usr/local/lib on that library ? On Wed, Sep 21, 2011 at 1:52 AM, amine bezzarga wrote: > Yes I think I get it, I tried that but it doesn't work either: > install_name_tool -change /usr/local/lib/libirrklang.d

Re: [CMake] linker default library path /usr/local/lib on OSX

2011-09-20 Thread amine bezzarga
bluequartz.net > BlueQuartz Software Dayton, Ohio > Sent from my mobile device. > > On Sep 19, 2011, at 19:56, amine bezzarga wrote: > > Yeah, I tried the NO_DEFAULT_PATH option but without success. > My target_link_library command look like this: > &g

Re: [CMake] linker default library path /usr/local/lib on OSX

2011-09-19 Thread amine bezzarga
command just to be > sure): > > find_library(IrrKlang_LIBRARIES irrKlang > PATHS > ${CMAKE_CURRENT_SOURCE_DIR}/Dependencies/IrrKLangAudioEngine/bin/macosx-gcc > NO_DEFAULT_PATH > ) > > And what is your "target_link_libraries" command? > > > > On Sun,

Re: [CMake] linker default library path /usr/local/lib on OSX

2011-09-18 Thread amine bezzarga
to library> ... ) > > http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:find_library > > is this what you need? > best regards > Cristobal > > > On Sun, Sep 18, 2011 at 10:16 AM, amine bezzarga wrote: > >> Hello guys, >> >> I added a sound

[CMake] linker default library path /usr/local/lib on OSX

2011-09-18 Thread amine bezzarga
Hello guys, I added a sound library to my project, So I first created a cmake module to find it MESSAGE(STATUS "Looking for IrrKlang...") find_library(IrrKlang_LIBRARIES irrKlang ${CMAKE_CURRENT_SOURCE_DIR}/Dependencies/IrrKLangAudioEngine/bin/macosx-gcc ) find_path(IrrKlang_INCLUDE_DIRS irrKl