mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-25 01:02:37 +01:00
21 lines
279 B
CMake
21 lines
279 B
CMake
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
|
|
)
|
|
|
|
add_library(tinysvcmdns STATIC
|
|
${TINYSVCMDNS-SOURCES}
|
|
)
|
|
|
|
target_link_libraries(tinysvcmdns
|
|
${PTHREAD}
|
|
ws2_32
|
|
)
|