From 12f25c26189b72703477646c525314aba6ee953e Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 30 Aug 2022 19:30:46 +0200 Subject: [PATCH] Added a CMake message when building with the OpenGL ES renderer. --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d7e8767e4..9b8384ff9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,8 +32,8 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMake/Utils ${CMAKE_CURRENT_SOURCE_DIR}/CMake/Packages) # Define the options. -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(GL "Set to ON if targeting Desktop OpenGL" ${GL}) +option(GLES "Set to ON if targeting OpenGL ES" ${GLES}) 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(STEAM_DECK "Set to ON to enable Valve Steam Deck specific build" ${STEAM_DECK}) @@ -283,6 +283,7 @@ endif() if(GLES) add_compile_definitions(USE_OPENGLES) + message("-- Building with OpenGL ES renderer") endif() if (APPIMAGE_BUILD AND FLATPAK_BUILD)