From 0908778eeed48d194237be1136730cd73eb33480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 12 Aug 2014 20:52:24 +0200 Subject: [PATCH] modules: fix dependency finding for GlxContext. --- modules/FindMagnum.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/FindMagnum.cmake b/modules/FindMagnum.cmake index a89527f4b..66f41f4fc 100644 --- a/modules/FindMagnum.cmake +++ b/modules/FindMagnum.cmake @@ -421,7 +421,7 @@ foreach(component ${Magnum_FIND_COMPONENTS}) set(_MAGNUM_${_COMPONENT}_INCLUDE_PATH_NAMES Context.h) # GLX context dependencies - if(${component} STREQUAL GlxStub) + if(${component} STREQUAL GlxContext) find_package(X11) if(X11_FOUND) set(_MAGNUM_${_COMPONENT}_LIBRARIES ${X11_LIBRARIES})