Refactor/Create APT/DNF Repository (#1648)

This commit is contained in:
Paulchen-Panther
2023-11-16 21:05:56 +01:00
committed by GitHub
parent c9518db597
commit 91270966f9
165 changed files with 1918 additions and 2924 deletions

View File

@@ -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>
)