2022-01-07 14:47:51 +01:00
|
|
|
# Find Broadcom VideoCore firmware installation
|
2013-08-01 17:08:58 +02:00
|
|
|
#
|
|
|
|
# This module defines
|
2022-01-07 14:47:51 +01:00
|
|
|
# BCM_INCLUDE_DIR - The Broadcom VideoCore include directory
|
|
|
|
# BCM_LIBRARIES - The Broadcom VideoCore BCM_HOST library.
|
|
|
|
# BCM_FOUND - BCM_HOST is available
|
2013-08-01 17:08:58 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
FIND_PATH(BCM_INCLUDE_DIR
|
2016-05-26 23:44:27 +02:00
|
|
|
bcm_host.h
|
|
|
|
/usr/include
|
|
|
|
/usr/local/include
|
|
|
|
/opt/vc/include)
|
2013-08-01 17:08:58 +02:00
|
|
|
|
|
|
|
SET(BCM_INCLUDE_DIRS
|
2016-05-26 23:44:27 +02:00
|
|
|
${BCM_INCLUDE_DIR}
|
|
|
|
${BCM_INCLUDE_DIR}/interface/vcos/pthreads
|
|
|
|
${BCM_INCLUDE_DIR}/interface/vmcs_host/linux)
|
2013-08-02 11:54:09 +02:00
|
|
|
|
|
|
|
FIND_LIBRARY(BCM_LIBRARIES
|
2016-05-26 23:44:27 +02:00
|
|
|
NAMES bcm_host
|
|
|
|
PATHS /usr/lib /usr/local/lib /opt/vc/lib)
|