11 lines
241 B
CMake
11 lines
241 B
CMake
set(TUNTAP_ADDITIONAL_SOURCES)
|
|
if (WIN32)
|
|
list(APPEND TUNTAP_ADDITIONAL_SOURCES tapwin32-funcs.c)
|
|
endif ()
|
|
|
|
set(TUNTAP_SOURCES
|
|
BTap.c
|
|
${TUNTAP_ADDITIONAL_SOURCES}
|
|
)
|
|
badvpn_add_library(tuntap "system;flow" "" "${TUNTAP_SOURCES}")
|