mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
Added an option to force the compilation of Raspberry Pi specific bits.
Useful when the VC4 legacy driver is not used for GLES, but usage of 'omxplayer' is still desired.
This commit is contained in:
parent
13819ec0d9
commit
0903bb36ff
|
@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8)
|
|||
|
||||
option(GLES "Set to ON if targeting OpenGL ES" ${GLES})
|
||||
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)
|
||||
|
||||
|
@ -67,7 +68,7 @@ endif()
|
|||
|
||||
#-------------------------------------------------------------------------------
|
||||
#set up compiler flags and excutable names
|
||||
if(DEFINED BCMHOST)
|
||||
if(DEFINED BCMHOST OR RPI)
|
||||
add_definitions(-D_RPI_)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue