mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
662872dafe
* libjpeg-turbo, QJsonSchemaChecker, V4L2 width/height/fps Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com> * Implement hyperion-v4l cli args * Apply v4l2 settings during runtime * feat: Provide minimum values for input restriction * fix: merge mess Co-authored-by: brindosch <edeltraud70@gmx.de>
19 lines
567 B
CMake
19 lines
567 B
CMake
# Define the current source locations
|
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/grabber)
|
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/grabber/v4l2)
|
|
|
|
FILE ( GLOB V4L2_SOURCES "${CURRENT_HEADER_DIR}/V4L2*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp" )
|
|
|
|
add_library(v4l2-grabber ${V4L2_SOURCES} )
|
|
|
|
target_link_libraries(v4l2-grabber
|
|
hyperion
|
|
${QT_LIBRARIES}
|
|
)
|
|
|
|
if(TURBOJPEG_FOUND)
|
|
target_link_libraries(v4l2-grabber ${TurboJPEG_LIBRARY})
|
|
elseif (JPEG_FOUND)
|
|
target_link_libraries(v4l2-grabber ${JPEG_LIBRARY})
|
|
endif(TURBOJPEG_FOUND)
|