[CMake] link : shared libraries into executable

2008-06-26 Thread Ingrid Kemgoum
hi, i'm building a unix project. i want to add -lpthread -lrt -ldl -lnsl to all executables. when i use set_target_prop with link_flags, those lib are placed right after the compile flags. when i use set(cmake_standard-libraries libpthread.so ...) nothing happen i don't even know where this

Re: [CMake] link : shared libraries into executable

2008-06-26 Thread Mike Jackson
Target_link_Libraries (Executable pthread rt dl nsl) If those libraries are in the standard locations gcc should be able to pick them up ok. -- Mike Jackson Senior Research Engineer Innovative Management Technology Services On Jun 26, 2008, at 5:44 AM, Ingrid Kemgoum wrote: hi, i'm