mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-23 04:04:54 +08:00
Removed rt linking on OS X. Fixes #24.
This commit is contained in:
parent
c37d25a43c
commit
fe00053372
@ -34,10 +34,8 @@ else()
|
||||
endif()
|
||||
|
||||
## Add serial library
|
||||
add_library(${PROJECT_NAME}
|
||||
${serial_SRCS}
|
||||
)
|
||||
if (UNIX)
|
||||
add_library(${PROJECT_NAME} ${serial_SRCS})
|
||||
if(UNIX AND NOT APPLE)
|
||||
target_link_libraries(${PROJECT_NAME} rt)
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user