<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Hello,<br><br>I would like to know how to add "-lrt" at the end of link.txt.<br>I tried to do that by modifying CMakeLists.txt.<br>I added the following lines:<br>----------------------------------------------------------------------------------------------------------------<br>list(APPEND CMAKE_CXX_FLAGS "-lrt")<br>list(REMOVE_DUPLICATES CMAKE_CXX_FLAGS)<br>string(REPLACE ";" " " CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")<br>set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")<br>----------------------------------------------------------------------------------------------------------------<br>However, it does not work.<br><br>Anybody have an idea?<br><br>Thank you!<br><br>Cédric Doucet<br><br></div></body></html>