From f7c440d6b0d866a46a9830ee1cd2afb7f26be7a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 5 May 2015 23:00:54 +0200 Subject: [PATCH] modules: proper linking order for Font plugins. Fixes static build on NaCl. --- modules/FindMagnum.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/FindMagnum.cmake b/modules/FindMagnum.cmake index ba59b13c9..fc91d54c5 100644 --- a/modules/FindMagnum.cmake +++ b/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})