mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	* update * resolve qt5w * test * Go down cmake python search won the price for crazy lib searches! * 2.7 python forced, RPATH * upstream * ... * update * ... * 2.7.12 py it picks random versions... * max 7.12.5.... * Test 14.04 tests
		
			
				
	
	
		
			31 lines
		
	
	
		
			677 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			677 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)
 | |
| 
 | |
| SET(AmlogicHEADERS
 | |
| 	${CURRENT_HEADER_DIR}/AmlogicGrabber.h
 | |
| 	${CURRENT_HEADER_DIR}/AmlogicWrapper.h
 | |
| )
 | |
| 
 | |
| SET(AmlogicSOURCES
 | |
| 	${CURRENT_SOURCE_DIR}/AmlogicWrapper.cpp
 | |
| 	${CURRENT_SOURCE_DIR}/AmlogicGrabber.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
 | |
| 	${AmlogicHEADERS}
 | |
| 	${AmlogicSOURCES}
 | |
| )
 | |
| 
 | |
| target_link_libraries(amlogic-grabber
 | |
| 	hyperion
 | |
| 	${QT_LIBRARIES})
 |