mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	* Do not limit priorities for Boblight (#1269) * Boblight - Allow to exclude component from build * Fix merge * Amlogic - Correct Pixelformat reference * Remove "wrong" Amlogic ifdef, which was not working before
		
			
				
	
	
		
			37 lines
		
	
	
		
			777 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			777 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| 
 | |
| # Define the current source locations
 | |
| SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/hyperion)
 | |
| SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/hyperion)
 | |
| 
 | |
| include_directories(
 | |
| 	${CMAKE_CURRENT_BINARY_DIR}/../../libsrc/flatbufserver
 | |
| )
 | |
| 
 | |
| FILE ( GLOB Hyperion_SOURCES "${CURRENT_HEADER_DIR}/*.h"  "${CURRENT_SOURCE_DIR}/*.h"  "${CURRENT_SOURCE_DIR}/*.cpp" )
 | |
| 
 | |
| SET(Hyperion_RESOURCES ${CURRENT_SOURCE_DIR}/resource.qrc)
 | |
| 
 | |
| add_library(hyperion
 | |
| 	${Hyperion_SOURCES}
 | |
| 	${Hyperion_RESOURCES}
 | |
| )
 | |
| 
 | |
| target_link_libraries(hyperion
 | |
| 	blackborder
 | |
| 	hyperion-utils
 | |
| 	flatbufserver
 | |
| 	flatbuffers
 | |
| 	leddevice
 | |
| 	effectengine
 | |
| 	database
 | |
| 	${QT_LIBRARIES}
 | |
| )
 | |
| 
 | |
| if(ENABLE_BOBLIGHT)
 | |
| 	target_link_libraries(hyperion boblightserver)
 | |
| endif()
 | |
| 
 | |
| if (ENABLE_AVAHI)
 | |
| 	target_link_libraries(hyperion bonjour)
 | |
| endif ()
 |