Added first quick and dirty implementation of own server (HyperionDispmanX.cpp).

This commit is contained in:
T. van der Zwan
2013-08-01 17:08:58 +02:00
parent a65305dbdb
commit f6672499f5
12 changed files with 167 additions and 67 deletions

23
cmake/FindBCM.cmake Normal file
View File

@@ -0,0 +1,23 @@
# - Find the native BCM includes and library
#
# This module defines
# BCM_INCLUDE_DIR, where to find png.h, etc.
# BCM_LIBRARIES, the libraries to link against to use PNG.
# BCM_FOUND, If false, do not try to use PNG.
#
FIND_PATH(BCM_INCLUDE_DIR
bcm_host.h
/usr/include
/usr/local/include
/opt/vc/include)
SET(BCM_INCLUDE_DIRS
${BCM_INCLUDE_DIR}
${BCM_INCLUDE_DIR}/interface/vcos/pthreads
${BCM_INCLUDE_DIR}/interface/vmcs_host/linux)
FIND_LIBRARY(BCM_LIBS
NAMES bcm_host
PATHS /usr/lib /usr/local/lib /opt/vc/lib)

View File

@@ -11,9 +11,6 @@
# None of the above will be defined unles zlib can be found.
# PNG depends on Zlib
#
# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
# See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
INCLUDE(FindZLIB)