This PR improves the consistency between the CMake options used for optional compilation with the system libraries for glibinding, glm and freetype. These options are all standardized to USE_SYSTEM_FOO as opposed to a mixture of USE_SYSTEM_FOO and USE_LOCAL_FOO currently. The latter is actually quite confusing, since a system dependency may be considered local too.
Besides, if compilation with a system library is requested, then the configuration will systematically fail if the library is not found. By default, all USE_SYSTEM options are set to OFF but this can be adjusted to different values.
This PR improves the consistency between the CMake options used for optional compilation with the system libraries for glibinding, glm and freetype. These options are all standardized to
USE_SYSTEM_FOO
as opposed to a mixture ofUSE_SYSTEM_FOO
andUSE_LOCAL_FOO
currently. The latter is actually quite confusing, since a system dependency may be considered local too.Besides, if compilation with a system library is requested, then the configuration will systematically fail if the library is not found. By default, all USE_SYSTEM options are set to OFF but this can be adjusted to different values.