]> wagner.pp.ru Git - openssl-gost/engine.git/commit
cmake: benchmark/sign - link with rt for clock_gettime when needed 119/head
authorVitaly Chikunov <vt@altlinux.org>
Fri, 8 Feb 2019 18:02:31 +0000 (21:02 +0300)
committerVitaly Chikunov <vt@altlinux.org>
Fri, 8 Feb 2019 18:02:31 +0000 (21:02 +0300)
commit931811c7142253b80c3a7a8e5e1095a6bdf01774
tree332a12f02b18d0e90f95ac1dc3ad1f15c84a647c
parenteea06158911bb530156ff6e54ec26dcd471e977e
cmake: benchmark/sign - link with rt for clock_gettime when needed

Test if clock_gettime() requires linking with -lrt and link sign
benchmark with rt if needed. clock_gettime() requires -lrt only for
glibc versions before 2.17.
CMakeLists.txt