From d8e6a995ebe72ee211c3a6732b0435ecf62bb0e2 Mon Sep 17 00:00:00 2001 From: clienthax Date: Tue, 17 Feb 2015 19:15:08 +0000 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a06370c42b..dde17704cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,8 +35,12 @@ if(ARM OR SIMULATOR) set(USING_EGL ON) endif() -include(CheckIncludeFile) -check_include_file(/opt/vc/include/bcm_host.h RPI) +#include(CheckIncludeFile) +#check_include_file(/opt/vc/include/bcm_host.h RPI) +if(EXISTS "/opt/vc/include/bcm_host.h") + message(STATUS "RaspberryPI VC Found") + set(RPI ON) +endif() if(BB) set(ARMV7 ON)