<div>hi, i&#39;m building a unix project.</div>
<div>i want to add &quot;-lpthread -lrt -ldl -lnsl&quot; to all executables.</div>
<div>when i use set_target_prop with link_flags, those lib are placed right after the compile flags.</div>
<div>when i use set(cmake_standard-libraries libpthread.so ...) nothing happen&nbsp; i don&#39;t even know where this command has an effect.</div>
<div>&nbsp;</div>
<div>My problem is that in unix we have order in librairies and i want those at the end for all my executables.</div>
<div>i&#39;ve tested&nbsp;adding libpthread.so at the end in target_link_libraries(..) for one of my executables and everythink goes well.</div>
<div>&nbsp;</div>
<div>what can i do to fix this first to be set in link options for my executables?</div>
<div>&nbsp;</div>
<div>i don&#39;t know if i&#39;m clear but thanks for help</div>