mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	fix: OSX add x11 new include path (#802)
This commit is contained in:
		| @@ -7,6 +7,10 @@ find_package(X11 REQUIRED) | ||||
|  | ||||
| include_directories( ${X11_INCLUDES} ) | ||||
|  | ||||
| if(APPLE) | ||||
| 	include_directories("/opt/X11/include") | ||||
| endif(APPLE) | ||||
|  | ||||
| FILE ( GLOB X11_SOURCES "${CURRENT_HEADER_DIR}/X11*.h"  "${CURRENT_SOURCE_DIR}/*.h"  "${CURRENT_SOURCE_DIR}/*.cpp" ) | ||||
|  | ||||
| add_library(x11-grabber ${X11_SOURCES} ) | ||||
|   | ||||
| @@ -10,6 +10,10 @@ include_directories( | ||||
| 	${FLATBUFFERS_INCLUDE_DIRS} | ||||
| ) | ||||
|  | ||||
| if(APPLE) | ||||
| 	include_directories("/opt/X11/include") | ||||
| endif(APPLE) | ||||
|  | ||||
| set(Hyperion_X11_HEADERS | ||||
| 	X11Wrapper.h | ||||
| ) | ||||
|   | ||||
| @@ -77,6 +77,9 @@ if (ENABLE_AMLOGIC) | ||||
| endif () | ||||
|  | ||||
| if (ENABLE_X11) | ||||
| 	if(APPLE) | ||||
| 		include_directories("/opt/X11/include") | ||||
| 	endif(APPLE) | ||||
| 	target_link_libraries(hyperiond	x11-grabber) | ||||
| endif () | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user