*converter: make these buildable on platforms w/o dynamic plugins.
Such as Emscripten or Android. The hypothetical use case is converting
shader files directly on an Android device to debug things, or having a
Node.js build of a scene/image converter for "portability".
Static plugins can be linked to these if Magnum is built together with
Magnum Plugins in a CMake superproject and the plugins are then linked
via the MAGNUM_*CONVERTER_STATIC_PLUGINS CMake variable.
The fontconverter and distanceconverter tools cause a CMake error on
Emscripten as it's not currently possible to access the GPU through a
command-line Node.js app. On Android they work though.
message(SEND_ERROR"magnum-fontconverter is available only if MAGNUM_TARGET_GL is enabled")
message(SEND_ERROR"magnum-fontconverter is available only if MAGNUM_TARGET_GL is enabled")
endif()
endif()
if(CORRADE_TARGET_EMSCRIPTEN)
message(SEND_ERROR"The magnum-fontconverter utility isn't available on Emscripten due to lack of GPU access from Node.js. Set MAGNUM_WITH_FONTCONVERTER to OFF to skip building it.")
message(SEND_ERROR"magnum-distancefieldconverter is available only if MAGNUM_TARGET_GL is enabled")
message(SEND_ERROR"The magnum-distancefieldconverter utility is available only if MAGNUM_TARGET_GL is enabled")
endif()
if(CORRADE_TARGET_EMSCRIPTEN)
message(SEND_ERROR"The magnum-distancefieldconverter utility isn't available on Emscripten due to lack of GPU access from Node.js. Set MAGNUM_WITH_DISTANCEFIELDCONVERTER to OFF to skip building it.")