Commit 199a2f2
committed
[CMake] Use shm_open, not clock_gettime, to detect librt
On systems with glibc, clock_gettime() was moved from librt to libc in
version 2.17, in which case the current librt detection attempt would always
fail.
Look for shm_open instead, like other parts of the tree also do when looking
for librt.1 parent d7ddc97 commit 199a2f2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments