Same as in Corrade. Because BUILD_STATIC is independent between Corrade
and Magnum this option is also independent -- the corner cases and bad
interactions would be otherwise too complex to handle (e.g., in case of
a dynamic Corrade and static Magnum it would be impossible to enable
this option for Magnum etc etc).
option(BUILD_STATIC_PIC"Build static libraries and plugins with position-independent code"${ON_EXCEPT_EMSCRIPTEN})
cmake_dependent_option(BUILD_STATIC_UNIQUE_GLOBALS"Build static libraries with globals unique across shared libraries"${ON_EXCEPT_EMSCRIPTEN}"BUILD_STATIC"OFF)
option(BUILD_PLUGINS_STATIC"Build static plugins (default are dynamic)"OFF)
option(BUILD_TESTS"Build unit tests"OFF)
cmake_dependent_option(BUILD_GL_TESTS"Build unit tests for OpenGL code"OFF"BUILD_TESTS;TARGET_GL"OFF)