Merge pull request #140 from jserv/fix-rt-linkage
Link with -lrt for older glibc
This commit is contained in:
commit
1b9c68667b
@ -108,6 +108,10 @@ if(WIN32)
|
||||
list(APPEND mi_libraries psapi shell32 user32)
|
||||
else()
|
||||
list(APPEND mi_libraries pthread)
|
||||
find_library(LIBRT rt)
|
||||
if(LIBRT)
|
||||
list(APPEND mi_libraries ${LIBRT})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user