Browse Source

modules: properly list the transitive dependency of Primitives on GL.

pull/449/head
Vladimír Vondruš 6 years ago
parent
commit
e4e5795669
  1. 4
      modules/FindMagnum.cmake

4
modules/FindMagnum.cmake

@ -417,6 +417,10 @@ elseif(CORRADE_TARGET_WINDOWS)
endif()
set(_MAGNUM_Primitives_DEPENDENCIES MeshTools Trade)
if(MAGNUM_TARGET_GL)
# GL not required by Primitives themselves, but transitively by MeshTools
list(APPEND _MAGNUM_Primitives_DEPENDENCIES GL)
endif()
set(_MAGNUM_SceneGraph_DEPENDENCIES )
set(_MAGNUM_Shaders_DEPENDENCIES GL)
set(_MAGNUM_Text_DEPENDENCIES TextureTools)

Loading…
Cancel
Save