Clementine-audio-player-Mac.../3rdparty/tinysvcmdns/CMakeLists.txt

21 lines
279 B
CMake
Raw Normal View History

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
)
find_library(PTHREAD
pthreadGC2
)
2013-01-17 13:15:16 +01:00
add_library(tinysvcmdns STATIC
${TINYSVCMDNS-SOURCES}
)
target_link_libraries(tinysvcmdns
${PTHREAD}
2013-01-18 14:00:21 +01:00
ws2_32
)