mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	- Video format MJPEG implemented (libjpeg/qimage) - Inactive priorities are now skipped correctly (PriorityMuxer.cpp line 297) - v4l configuration section replaced with an object (preparation for #542)
		
			
				
	
	
		
			17 lines
		
	
	
		
			469 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			469 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 (JPEG_FOUND)
 | 
						|
	target_link_libraries(v4l2-grabber ${JPEG_LIBRARY})
 | 
						|
endif()
 |