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,20 +1,15 @@
# Define the current source locations
set(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/jsonserver)
set(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/jsonserver)
FILE ( GLOB JsonServer_SOURCES "${CURRENT_HEADER_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp" )
add_library(jsonserver ${JsonServer_SOURCES} )
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
Qt${QT_VERSION_MAJOR}::Network
Qt${QT_VERSION_MAJOR}::Gui
)
if(ENABLE_MDNS)
target_link_libraries(jsonserver mdns)
endif()