mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-24 15:15:38 +00:00
Added a Steam Deck build option to the CMake configuration.
This commit is contained in:
parent
e1af058cfa
commit
03c2d2658f
|
@ -31,6 +31,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMake/Utils
|
||||||
# Define the options.
|
# Define the options.
|
||||||
option(GL "Set to ON if targeting Desktop OpenGL 3.3" ${GL})
|
option(GL "Set to ON if targeting Desktop OpenGL 3.3" ${GL})
|
||||||
option(GLES "Set to ON if targeting OpenGL ES 3.0" ${GLES})
|
option(GLES "Set to ON if targeting OpenGL ES 3.0" ${GLES})
|
||||||
|
option(STEAM_DECK "Set to ON to enable Valve Steam Deck specific build" ${STEAM_DECK})
|
||||||
option(RPI "Set to ON to enable Raspberry Pi specific build" ${RPI})
|
option(RPI "Set to ON to enable Raspberry Pi specific build" ${RPI})
|
||||||
option(BUNDLED_CERTS "Set to ON to use bundled TLS/SSL certificates" ${BUNDLED_CERTS})
|
option(BUNDLED_CERTS "Set to ON to use bundled TLS/SSL certificates" ${BUNDLED_CERTS})
|
||||||
option(CEC "Set to ON to enable CEC" ${CEC})
|
option(CEC "Set to ON to enable CEC" ${CEC})
|
||||||
|
@ -279,6 +280,11 @@ if(GLES)
|
||||||
add_definitions(-DUSE_OPENGLES)
|
add_definitions(-DUSE_OPENGLES)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(STEAM_DECK)
|
||||||
|
add_definitions(-DSTEAM_DECK)
|
||||||
|
message("-- Building for the Valve Steam Deck")
|
||||||
|
endif()
|
||||||
|
|
||||||
if(RPI)
|
if(RPI)
|
||||||
add_definitions(-D_RPI_)
|
add_definitions(-D_RPI_)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue