Browse Source

modules: append to list instead of replacing it.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
94a59fc381
  1. 4
      modules/FindMagnum.cmake

4
modules/FindMagnum.cmake

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

Loading…
Cancel
Save