mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
569e59110e
* implement set videomode via json api * refactor grabbers: - new base class - move shared code to base class * fix osx * rework all cmakelist files with auto file collection. except leddevices (need further restructuring) * store current video and grabbing mode * add json stuff * remove grabbingmode - we do not want to expose it
19 lines
573 B
CMake
19 lines
573 B
CMake
INCLUDE (CheckIncludeFiles)
|
|
|
|
# Define the current source locations
|
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/grabber)
|
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/grabber/amlogic)
|
|
|
|
FILE ( GLOB AmlogicSOURCES "${CURRENT_HEADER_DIR}/Amlogic*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp" )
|
|
|
|
CHECK_INCLUDE_FILES ("amcodec/amports/amstream.h" HAVE_AML_HEADER)
|
|
IF (${HAVE_AML_HEADER})
|
|
ADD_DEFINITIONS( -DHAVE_AML_HEADER )
|
|
ENDIF()
|
|
|
|
add_library(amlogic-grabber ${AmlogicSOURCES} )
|
|
|
|
target_link_libraries(amlogic-grabber
|
|
hyperion
|
|
${QT_LIBRARIES})
|