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,43 +1,25 @@
cmake_minimum_required(VERSION 3.5.0)
project(hyperion-osx)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Gui Network Widgets REQUIRED)
include_directories(
${CMAKE_CURRENT_BINARY_DIR}/../../libsrc/flatbufserver
${FLATBUFFERS_INCLUDE_DIRS}
)
set(Hyperion_OSX_HEADERS
add_executable(${PROJECT_NAME}
OsxWrapper.h
)
set(Hyperion_OSX_SOURCES
hyperion-osx.cpp
OsxWrapper.cpp
hyperion-osx.cpp
)
add_executable( ${PROJECT_NAME}
${Hyperion_OSX_HEADERS}
${Hyperion_OSX_SOURCES}
)
target_link_libraries( ${PROJECT_NAME}
target_link_libraries(${PROJECT_NAME}
commandline
hyperion-utils
flatbufconnect
flatbuffers
osx-grabber
Qt${QT_VERSION_MAJOR}::Core
Qt${QT_VERSION_MAJOR}::Gui
Qt${QT_VERSION_MAJOR}::Network
Qt${QT_VERSION_MAJOR}::Widgets
)
if(ENABLE_MDNS)
target_link_libraries(${PROJECT_NAME} mdns)
target_link_libraries(${PROJECT_NAME} mdns)
else()
target_link_libraries(${PROJECT_NAME} ssdp)
target_link_libraries(${PROJECT_NAME} ssdp)
endif()
install ( TARGETS ${PROJECT_NAME} DESTINATION "." COMPONENT "hyperion_osx" )
install (TARGETS ${PROJECT_NAME} DESTINATION "." COMPONENT "hyperion_osx")

View File

@@ -2,7 +2,7 @@
// QT includes
#include <QTimer>
#include <grabber/OsxFrameGrabber.h>
#include <grabber/osx/OsxFrameGrabber.h>
#include <hyperion/GrabberWrapper.h>
class OsxWrapper : public QObject