mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 19:54:57 +08:00
Fixing a bug/patch submitted by d.suvorov90@gmail.com for linking on Windows.
This commit is contained in:
parent
7dbd1d53a6
commit
a726a78c55
@ -49,6 +49,9 @@ set(SERIAL_LINK_LIBS ${Boost_SYSTEM_LIBRARY}
|
||||
# Compile the Library
|
||||
add_library(serial ${SERIAL_SRCS} ${SERIAL_HEADERS})
|
||||
target_link_libraries(serial ${SERIAL_LINK_LIBS})
|
||||
IF( WIN32 )
|
||||
target_link_libraries(serial wsock32)
|
||||
ENDIF( )
|
||||
|
||||
# Check for OS X and if so disable kqueue support in asio
|
||||
IF(CMAKE_SYSTEM_NAME MATCHES Darwin)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user