Update CMakeLists.txt

This commit is contained in:
clienthax 2015-02-17 19:15:08 +00:00
parent 1d7b0ae4a8
commit d8e6a995eb

View File

@ -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)