Merge pull request #46171 from akien-mga/scons-editor-always-freetype

SCons: Make freetype module a mandatory editor dependency
This commit is contained in:
Rémi Verschelde 2021-02-18 14:58:59 +01:00 committed by GitHub
commit a67a6a5a18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -617,7 +617,7 @@ if selected_platform in platform_list:
if env["minizip"]: if env["minizip"]:
env.Append(CPPDEFINES=["MINIZIP_ENABLED"]) env.Append(CPPDEFINES=["MINIZIP_ENABLED"])
editor_module_list = ["regex"] editor_module_list = ["freetype", "regex"]
if env["tools"] and not env.module_check_dependencies("tools", editor_module_list): if env["tools"] and not env.module_check_dependencies("tools", editor_module_list):
print( print(
"Build option 'module_" "Build option 'module_"