Browse Source

modules: proper linking order for Font plugins.

Fixes static build on NaCl.
pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
f7c440d6b0
  1. 2
      modules/FindMagnum.cmake

2
modules/FindMagnum.cmake

@ -246,7 +246,7 @@ foreach(component ${Magnum_FIND_COMPONENTS})
if(component MATCHES ".+AudioImporter")
set(_MAGNUM_${_COMPONENT}_DEPENDENCIES Audio)
elseif(component MATCHES ".+(Font|FontConverter)")
set(_MAGNUM_${_COMPONENT}_DEPENDENCIES TextureTools Text)
set(_MAGNUM_${_COMPONENT}_DEPENDENCIES Text TextureTools)
endif()
list(APPEND _MAGNUM_ADDITIONAL_COMPONENTS ${_MAGNUM_${_COMPONENT}_DEPENDENCIES})

Loading…
Cancel
Save