mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Refactor/Create APT/DNF Repository (#1648)
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
|
||||
# Define the current source locations
|
||||
set(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/mdns)
|
||||
set(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/mdns)
|
||||
|
||||
FILE ( GLOB MDNS_SOURCES "${CURRENT_HEADER_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp" )
|
||||
add_library(mdns ${MDNS_SOURCES})
|
||||
|
||||
include_directories(${QMDNS_INCLUDE_DIR})
|
||||
|
||||
target_link_libraries(mdns
|
||||
hyperion-utils
|
||||
${QMDNS_LIBRARIES}
|
||||
add_library(mdns
|
||||
${CMAKE_SOURCE_DIR}/include/mdns/MdnsServiceRegister.h
|
||||
${CMAKE_SOURCE_DIR}/include/mdns/MdnsBrowser.h
|
||||
${CMAKE_SOURCE_DIR}/include/mdns/MdnsProvider.h
|
||||
${CMAKE_SOURCE_DIR}/libsrc/mdns/MdnsBrowser.cpp
|
||||
${CMAKE_SOURCE_DIR}/libsrc/mdns/MdnsProvider.cpp
|
||||
)
|
||||
|
||||
target_include_directories(mdns PUBLIC ${QMDNS_INCLUDE_DIR})
|
||||
target_link_libraries(mdns
|
||||
hyperion
|
||||
qmdnsengine
|
||||
$<$<BOOL:${WIN32}>:bcrypt.lib>
|
||||
)
|
||||
|
Reference in New Issue
Block a user