Added a CMake message when building with the OpenGL ES renderer.

This commit is contained in:
Leon Styhre 2022-08-30 19:30:46 +02:00
parent 9b98821d1e
commit 12f25c2618

View file

@ -32,8 +32,8 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMake/Utils
${CMAKE_CURRENT_SOURCE_DIR}/CMake/Packages) ${CMAKE_CURRENT_SOURCE_DIR}/CMake/Packages)
# 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" ${GL})
option(GLES "Set to ON if targeting OpenGL ES 3.0" ${GLES}) option(GLES "Set to ON if targeting OpenGL ES" ${GLES})
option(APPIMAGE_BUILD "Set to ON when building as an AppImage" ${APPIMAGE_BUILD}) option(APPIMAGE_BUILD "Set to ON when building as an AppImage" ${APPIMAGE_BUILD})
option(FLATPAK_BUILD "Set to ON when building as a Flatpak" ${FLATPAK_BUILD}) option(FLATPAK_BUILD "Set to ON when building as a Flatpak" ${FLATPAK_BUILD})
option(STEAM_DECK "Set to ON to enable Valve Steam Deck specific build" ${STEAM_DECK}) option(STEAM_DECK "Set to ON to enable Valve Steam Deck specific build" ${STEAM_DECK})
@ -283,6 +283,7 @@ endif()
if(GLES) if(GLES)
add_compile_definitions(USE_OPENGLES) add_compile_definitions(USE_OPENGLES)
message("-- Building with OpenGL ES renderer")
endif() endif()
if (APPIMAGE_BUILD AND FLATPAK_BUILD) if (APPIMAGE_BUILD AND FLATPAK_BUILD)