summaryrefslogtreecommitdiffhomepage
path: root/cmake/LibraryConfigurations.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/LibraryConfigurations.cmake')
-rw-r--r--cmake/LibraryConfigurations.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/LibraryConfigurations.cmake b/cmake/LibraryConfigurations.cmake
index a16bde69..ffb1a047 100644
--- a/cmake/LibraryConfigurations.cmake
+++ b/cmake/LibraryConfigurations.cmake
@@ -93,7 +93,7 @@ elseif ("${PLATFORM}" MATCHES "DRM")
endif ()
-if (${OPENGL_VERSION})
+if (NOT ${OPENGL_VERSION})
set(${SUGGESTED_GRAPHICS} "${GRAPHICS}")
if (${OPENGL_VERSION} MATCHES "4.3")
set(GRAPHICS "GRAPHICS_API_OPENGL_43")