2013-01-17 13:15:16 +01:00
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
|
|
|
|
add_definitions(-D_GNU_SOURCE)
|
|
|
|
|
|
|
|
set(TINYSVCMDNS-SOURCES
|
|
|
|
mdns.c
|
|
|
|
mdnsd.c
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(tinysvcmdns STATIC
|
|
|
|
${TINYSVCMDNS-SOURCES}
|
|
|
|
)
|
2013-01-18 13:59:10 +01:00
|
|
|
|
|
|
|
target_link_libraries(tinysvcmdns
|
2013-01-18 14:00:21 +01:00
|
|
|
ws2_32
|
2013-01-18 13:59:10 +01:00
|
|
|
)
|