jermp / fulgor

Fulgor is a fast and space-efficient colored de Bruijn graph index.
MIT License
44 stars 9 forks source link

Update CMakeLists.txt #9

Closed pierrepeterlongo closed 1 year ago

pierrepeterlongo commented 1 year ago

Add -lrt compil option to avoid undefined reference to \clock_gettime\'` error

jermp commented 1 year ago

Thank you Pierre! I haven't seen this problem though. Can I ask you what OS are you using and compiler?

pierrepeterlongo commented 1 year ago

Sure

> g++ --version
g++ (GCC) 11.2.0

> cmake --version
cmake version 3.21.3

> uname -a
Linux cl1n051 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
jermp commented 1 year ago

Ok thanks! You're running an older version of Linux; we did not notice this because we're running 5.13. Thank you for the PR.