mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
d89f504d83
Former-commit-id: 46176e53d1acf39f9bd0c0ecbb8e5fb5ab4d45be
46 lines
794 B
CMake
46 lines
794 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(hyperion-v4l2)
|
|
|
|
# find Qt4
|
|
find_package(Qt4 REQUIRED QtCore QtGui QtNetwork)
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}/../../libsrc/protoserver
|
|
${PROTOBUF_INCLUDE_DIRS}
|
|
${QT_INCLUDES}
|
|
)
|
|
|
|
set(Hyperion_V4L2_QT_HEADERS
|
|
ScreenshotHandler.h
|
|
)
|
|
|
|
set(Hyperion_V4L2_HEADERS
|
|
VideoStandardParameter.h
|
|
PixelFormatParameter.h
|
|
)
|
|
|
|
set(Hyperion_V4L2_SOURCES
|
|
hyperion-v4l2.cpp
|
|
ScreenshotHandler.cpp
|
|
)
|
|
|
|
QT4_WRAP_CPP(Hyperion_V4L2_MOC_SOURCES ${Hyperion_V4L2_QT_HEADERS})
|
|
|
|
add_executable(hyperion-v4l2
|
|
${Hyperion_V4L2_HEADERS}
|
|
${Hyperion_V4L2_SOURCES}
|
|
${Hyperion_V4L2_QT_HEADERS}
|
|
${Hyperion_V4L2_MOC_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(hyperion-v4l2
|
|
v4l2-grabber
|
|
getoptPlusPlus
|
|
blackborder
|
|
hyperion-utils
|
|
protoserver
|
|
pthread
|
|
${QT_LIBRARIES}
|
|
)
|