@ -239,7 +239,9 @@ foreach(_magnum_component ${Magnum_FIND_COMPONENTS})
# U n r o l l i n g t h e t r a n s i t i v e d e p e n d e n c i e s h e r e s o t h i s d o e s n ' t n e e d t o b e
# U n r o l l i n g t h e t r a n s i t i v e d e p e n d e n c i e s h e r e s o t h i s d o e s n ' t n e e d t o b e
# a f t e r r e s o l v i n g i n t e r - c o m p o n e n t d e p e n d e n c i e s . L i s t i n g a l s o a l l p l u g i n s .
# a f t e r r e s o l v i n g i n t e r - c o m p o n e n t d e p e n d e n c i e s . L i s t i n g a l s o a l l p l u g i n s .
if ( _magnum_component MATCHES "^(Audio|DebugTools|MeshTools|Primitives|SceneTools|ShaderTools|Text|TextureTools|Trade|.+Importer|.+ImageConverter|.+Font|.+ShaderConverter)$" )
# T O D O : D e b u g T o o l s d e p e n d s o n Trade ( and thus PluginManager ) o n l y
# o p t i o n a l l y , t a k e t h a t i n t o a c c o u n t s o m e h o w ?
if ( _magnum_component MATCHES "^(Audio|DebugTools|MeshTools|Primitives|SceneTools|ShaderTools|Text|TextureTools|Trade|.+Importer|.+ImageConverter|.+SceneConverter|.+Font|.+FontConverter|.+ShaderConverter)$" )
list ( APPEND _MAGNUM_ ${ _magnum_component } _CORRADE_DEPENDENCIES PluginManager )
list ( APPEND _MAGNUM_ ${ _magnum_component } _CORRADE_DEPENDENCIES PluginManager )
endif ( )
endif ( )
if ( _magnum_component STREQUAL DebugTools )
if ( _magnum_component STREQUAL DebugTools )
@ -252,6 +254,9 @@ foreach(_magnum_component ${Magnum_FIND_COMPONENTS})
list ( APPEND _MAGNUM_ ${ _magnum_component } _CORRADE_DEPENDENCIES TestSuite )
list ( APPEND _MAGNUM_ ${ _magnum_component } _CORRADE_DEPENDENCIES TestSuite )
endif ( )
endif ( )
endif ( )
endif ( )
if ( _magnum_component STREQUAL OpenGLTester )
list ( APPEND _MAGNUM_ ${ _magnum_component } _CORRADE_DEPENDENCIES TestSuite )
endif ( )
list ( APPEND _MAGNUM_CORRADE_DEPENDENCIES ${ _MAGNUM_${_magnum_component } _CORRADE_DEPENDENCIES} )
list ( APPEND _MAGNUM_CORRADE_DEPENDENCIES ${ _MAGNUM_${_magnum_component } _CORRADE_DEPENDENCIES} )
endforeach ( )
endforeach ( )