@ -39,19 +39,19 @@ add_plugin(MagnumFontConverter ${MAGNUM_PLUGINS_FONTCONVERTER_DEBUG_INSTALL_DIR}
target_link_libraries ( MagnumFontConverter Magnum MagnumText )
target_link_libraries ( MagnumFontConverter Magnum MagnumText )
if ( WIN32 )
if ( WIN32 )
target_link_libraries ( MagnumFontConverter TgaImageConverter )
target_link_libraries ( MagnumFontConverter Magnum TgaImageConverter)
endif ( )
endif ( )
install ( FILES ${ MagnumFontConverter_HEADERS } DESTINATION ${ MAGNUM_PLUGINS_INCLUDE_INSTALL_DIR } /MagnumFontConverter )
install ( FILES ${ MagnumFontConverter_HEADERS } DESTINATION ${ MAGNUM_PLUGINS_INCLUDE_INSTALL_DIR } /MagnumFontConverter )
if ( BUILD_GL_TESTS )
if ( BUILD_GL_TESTS )
add_library ( MagnumFontConverterTestLib STATIC $< TARGET_OBJECTS:MagnumFontConverterObjects > )
add_library ( MagnumMagnum FontConverterTestLib STATIC $< TARGET_OBJECTS:MagnumFontConverterObjects > )
target_link_libraries ( MagnumFontConverterTestLib Magnum MagnumText TgaImageConverterTestLib )
target_link_libraries ( MagnumMagnum FontConverterTestLib Magnum MagnumText Magnum TgaImageConverterTestLib)
# O n W i n d o w s w e n e e d t o i n s t a l l f i r s t a n d t h e n r u n t h e t e s t s t o a v o i d " D L L
# O n W i n d o w s w e n e e d t o i n s t a l l f i r s t a n d t h e n r u n t h e t e s t s t o a v o i d " D L L
# n o t f o u n d " h e l l , t h u s w e n e e d t o i n s t a l l t h i s t o o
# n o t f o u n d " h e l l , t h u s w e n e e d t o i n s t a l l t h i s t o o
if ( WIN32 AND NOT CMAKE_CROSSCOMPILING )
if ( WIN32 AND NOT CMAKE_CROSSCOMPILING )
install ( TARGETS MagnumFontConverterTestLib
install ( TARGETS MagnumMagnum FontConverterTestLib
R U N T I M E D E S T I N A T I O N $ { M A G N U M _ B I N A R Y _ I N S T A L L _ D I R }
R U N T I M E D E S T I N A T I O N $ { M A G N U M _ B I N A R Y _ I N S T A L L _ D I R }
L I B R A R Y D E S T I N A T I O N $ { M A G N U M _ L I B R A R Y _ I N S T A L L _ D I R }
L I B R A R Y D E S T I N A T I O N $ { M A G N U M _ L I B R A R Y _ I N S T A L L _ D I R }
A R C H I V E D E S T I N A T I O N $ { M A G N U M _ L I B R A R Y _ I N S T A L L _ D I R } )
A R C H I V E D E S T I N A T I O N $ { M A G N U M _ L I B R A R Y _ I N S T A L L _ D I R } )