Permalink
Browse files

fixed: compilation on non-rpi

  • Loading branch information...
opdenkamp committed Jul 3, 2015
1 parent 2ac430f commit 76402cf0fff74faf2971cb1b20576c834ad8030e
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/libcec/cmake/CheckPlatformSupport.cmake
@@ -85,11 +85,11 @@ else()
endif()
# raspberry pi
find_library(RPI_BCM_HOST bcm_host ${RPI_LIB_DIR})
check_library_exists(bcm_host bcm_host_init ${RPI_LIB_DIR} HAVE_RPI_API)
find_library(RPI_BCM_HOST bcm_host "${RPI_LIB_DIR}")
check_library_exists(bcm_host bcm_host_init "${RPI_LIB_DIR}" HAVE_RPI_API)
if (HAVE_RPI_API)
find_library(RPI_VCOS vcos ${RPI_LIB_DIR} REQUIRED)
find_library(RPI_VCHIQ_ARM vchiq_arm ${RPI_LIB_DIR} REQUIRED)
find_library(RPI_VCOS vcos "${RPI_LIB_DIR}")
find_library(RPI_VCHIQ_ARM vchiq_arm "${RPI_LIB_DIR}")
include_directories(${RPI_INCLUDE_DIR} ${RPI_INCLUDE_DIR}/interface/vcos/pthreads ${RPI_INCLUDE_DIR}/interface/vmcs_host/linux)
set(LIB_INFO "${LIB_INFO}, 'RPi'")

0 comments on commit 76402cf

Please sign in to comment.