mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
16 lines
383 B
CMake
16 lines
383 B
CMake
add_library(jsonserver
|
|
${CMAKE_SOURCE_DIR}/include/jsonserver/JsonServer.h
|
|
${CMAKE_SOURCE_DIR}/libsrc/jsonserver/JsonServer.cpp
|
|
${CMAKE_SOURCE_DIR}/libsrc/jsonserver/JsonClientConnection.h
|
|
${CMAKE_SOURCE_DIR}/libsrc/jsonserver/JsonClientConnection.cpp
|
|
)
|
|
|
|
target_link_libraries(jsonserver
|
|
hyperion-api
|
|
hyperion
|
|
)
|
|
|
|
if(ENABLE_MDNS)
|
|
target_link_libraries(jsonserver mdns)
|
|
endif()
|