Merge pull request #573 from cmitu/fkms-update

add an option to force the compilation of Raspberry Pi video player bits
This commit is contained in:
John Rassa 2019-08-08 18:13:10 -04:00 committed by GitHub
commit afd056b027
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8)
option(GLES "Set to ON if targeting OpenGL ES" ${GLES}) option(GLES "Set to ON if targeting OpenGL ES" ${GLES})
option(GL "Set to ON if targeting Desktop OpenGL" ${GL}) option(GL "Set to ON if targeting Desktop OpenGL" ${GL})
option(RPI "Set to ON to enable the Raspberry PI video player (omxplayer)" ${RPI})
project(emulationstation-all) project(emulationstation-all)
@ -67,7 +68,7 @@ endif()
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#set up compiler flags and excutable names #set up compiler flags and excutable names
if(DEFINED BCMHOST) if(DEFINED BCMHOST OR RPI)
add_definitions(-D_RPI_) add_definitions(-D_RPI_)
endif() endif()