mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Added first quick and dirty implementation of own server (HyperionDispmanX.cpp).
This commit is contained in:
23
cmake/FindBCM.cmake
Normal file
23
cmake/FindBCM.cmake
Normal 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)
|
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user