mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-11 00:56:18 +00:00
Some systems (e.g. glibc < 2.17) require librt to get clock_gettime -> CMAKE
This commit is contained in:
@@ -79,6 +79,10 @@ IF(LIBUSB_FOUND)
|
||||
TARGET_LINK_LIBRARIES(nfc ${LIBUSB_LIBRARIES})
|
||||
ENDIF(LIBUSB_FOUND)
|
||||
|
||||
IF(LIBRT_FOUND)
|
||||
TARGET_LINK_LIBRARIES(nfc ${LIBRT_LIBRARIES})
|
||||
ENDIF(LIBRT_FOUND)
|
||||
|
||||
SET_TARGET_PROPERTIES(nfc PROPERTIES SOVERSION 5 VERSION 5.0.1)
|
||||
|
||||
IF(WIN32)
|
||||
|
||||
Reference in New Issue
Block a user