1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Remove annoying cmake message "bcm_host.h not found"

This commit is contained in:
Sergey Lipskiy 2017-03-03 17:25:43 +07:00
parent 339c63fa42
commit 2116d91916

View File

@ -90,9 +90,8 @@ set(GLideN64_SOURCES
)
#check if we're running on Raspberry Pi
MESSAGE("Looking for bcm_host.h")
if(EXISTS "/opt/vc/include/bcm_host.h")
MESSAGE("bcm_host.h found")
message("bcm_host.h found")
set(BCMHOST ON)
set(EGL ON)
add_definitions(
@ -108,8 +107,6 @@ if(EXISTS "/opt/vc/include/bcm_host.h")
"/opt/vc/lib"
"/opt/vc/lib/GL"
)
else(EXISTS "/opt/vc/include/bcm_host.h")
MESSAGE("bcm_host.h not found")
endif(EXISTS "/opt/vc/include/bcm_host.h")
if(MUPENPLUSAPI)