From 94a59fc3818162adf6a261c49bfa4a738cbd40f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 30 Jun 2015 00:22:44 +0200 Subject: [PATCH] modules: append to list instead of replacing it. --- modules/FindMagnum.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/FindMagnum.cmake b/modules/FindMagnum.cmake index ee1b64fff..80681ca12 100644 --- a/modules/FindMagnum.cmake +++ b/modules/FindMagnum.cmake @@ -249,9 +249,9 @@ foreach(component ${Magnum_FIND_COMPONENTS}) endif() if(component MATCHES ".+AudioImporter") - set(_MAGNUM_${_COMPONENT}_DEPENDENCIES Audio) + set(_MAGNUM_${_COMPONENT}_DEPENDENCIES ${_MAGNUM_${_COMPONENT}_DEPENDENCIES} Audio) elseif(component MATCHES ".+(Font|FontConverter)") - set(_MAGNUM_${_COMPONENT}_DEPENDENCIES Text TextureTools) + set(_MAGNUM_${_COMPONENT}_DEPENDENCIES ${_MAGNUM_${_COMPONENT}_DEPENDENCIES} Text TextureTools) endif() list(APPEND _MAGNUM_ADDITIONAL_COMPONENTS ${_MAGNUM_${_COMPONENT}_DEPENDENCIES})