CMake: remove erroneous status message

OPENGL_VERSION is the version requested by the user,
not the detected one...
This commit is contained in:
Ahmad Fatoum 2018-10-11 13:52:25 +02:00
parent 9b25da5f98
commit 5945805b15
No known key found for this signature in database
GPG Key ID: C3EAC3DE9321D59B

View File

@ -125,7 +125,6 @@ elseif(${PLATFORM} MATCHES "Raspberry Pi")
endif()
if (${OPENGL_VERSION})
MESSAGE(STATUS "Detected OpenGL version: ${OPENGL_VERSION}")
set(${SUGGESTED_GRAPHICS} "${GRAPHICS}")
if (${OPENGL_VERSION} MATCHES "3.3")
set(GRAPHICS "GRAPHICS_API_OPENGL_33")