mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 19:54:57 +08:00
Fixed linking on Linux and OS X.
This commit is contained in:
parent
485a9fb9a3
commit
871f32fcb2
@ -73,9 +73,13 @@ macro(build_serial)
|
||||
|
||||
set(OTHER_LIBS "")
|
||||
if(UNIX)
|
||||
set(OTHER_LIBS util rt)
|
||||
set(OTHER_LIBS util)
|
||||
endif(UNIX)
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
list(APPEND OTHER_LIBS rt pthread)
|
||||
endif(UNIX AND NOT APPLE)
|
||||
|
||||
## Build the Serial Library
|
||||
|
||||
# Compile the Library
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user