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 abezz...@gmail.com wrote: Yes I think I get it, I tried that but it doesn't work either: install_name_tool -change /usr/local/lib/libirrklang.dylib

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

2011-09-20 Thread amine bezzarga
Dayton, Ohio Sent from my mobile device. On Sep 19, 2011, at 19:56, amine bezzarga abezz...@gmail.com wrote: Yeah, I tried the NO_DEFAULT_PATH option but without success. My target_link_library command look like this: target_link_libraries(${CMAKE_PROJECT_NAME} ${OGRE_LIBRARIES

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

2011-09-19 Thread amine bezzarga
(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, Sep 18, 2011 at 12:33 PM, amine bezzarga abezz...@gmail.com abezz...@gmail.com wrote: The issue is not about

[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

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

2011-09-18 Thread amine bezzarga
path1 to library path2 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 abezz...@gmail.comwrote: Hello guys, I added a sound library to my project, So