Browse Source

modules: fix dependency finding for GlxContext.

pull/68/head
Vladimír Vondruš 12 years ago
parent
commit
0908778eee
  1. 2
      modules/FindMagnum.cmake

2
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})

Loading…
Cancel
Save