Link with rt
On CentOS 6 (glibc 2.12) you must explicitly link with rt for clock_gettime.
This commit is contained in:
parent
31c93cfe1c
commit
ffd2d80ea0
@ -1,5 +1,8 @@
|
||||
add_executable(test_mxb_http test_http.cc)
|
||||
target_link_libraries(test_mxb_http maxbase)
|
||||
target_link_libraries(test_mxb_http
|
||||
maxbase
|
||||
rt
|
||||
)
|
||||
add_test(test_mxb_http test_mxb_http)
|
||||
|
||||
add_executable(test_mxb_log test_log.cc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user