|
|
|
|
@ -46,5 +46,15 @@ install(FILES ${MagnumFontConverter_HEADERS} DESTINATION ${MAGNUM_PLUGINS_INCLUD
|
|
|
|
|
if(BUILD_GL_TESTS) |
|
|
|
|
add_library(MagnumFontConverterTestLib STATIC $<TARGET_OBJECTS:MagnumFontConverterObjects>) |
|
|
|
|
target_link_libraries(MagnumFontConverterTestLib Magnum MagnumText TgaImageConverterTestLib) |
|
|
|
|
|
|
|
|
|
# On Windows we need to install first and then run the tests to avoid "DLL |
|
|
|
|
# not found" hell, thus we need to install this too |
|
|
|
|
if(WIN32 AND NOT CMAKE_CROSSCOMPILING) |
|
|
|
|
install(TARGETS MagnumFontConverterTestLib |
|
|
|
|
RUNTIME DESTINATION ${MAGNUM_BINARY_INSTALL_DIR} |
|
|
|
|
LIBRARY DESTINATION ${MAGNUM_LIBRARY_INSTALL_DIR} |
|
|
|
|
ARCHIVE DESTINATION ${MAGNUM_LIBRARY_INSTALL_DIR}) |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
add_subdirectory(Test) |
|
|
|
|
endif() |
|
|
|
|
|