mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 11:44:53 +08:00
Small CMakeLists.txt touch ups.
This commit is contained in:
parent
2e9f850175
commit
72f43d9976
@ -22,15 +22,15 @@ endif()
|
||||
## Sources
|
||||
set(serial_SRCS
|
||||
src/serial.cc
|
||||
# include/serial/serial.h
|
||||
# include/serial/v8stdint.h
|
||||
include/serial/serial.h
|
||||
include/serial/v8stdint.h
|
||||
)
|
||||
if(UNIX)
|
||||
# If unix
|
||||
list (APPEND serial_SRCS src/impl/unix.cc)
|
||||
list(APPEND serial_SRCS src/impl/unix.cc)
|
||||
else()
|
||||
# If windows
|
||||
list (APPEND serial_SRCS src/impl/win.cc)
|
||||
list(APPEND serial_SRCS src/impl/win.cc)
|
||||
endif()
|
||||
|
||||
## Add serial library
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user