summaryrefslogtreecommitdiff
path: root/modules/text_server_fb/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/text_server_fb/SCsub')
-rw-r--r--modules/text_server_fb/SCsub4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/text_server_fb/SCsub b/modules/text_server_fb/SCsub
index 8f626f02b8..429d2e1fdc 100644
--- a/modules/text_server_fb/SCsub
+++ b/modules/text_server_fb/SCsub
@@ -3,8 +3,8 @@
Import("env")
Import("env_modules")
-freetype_enabled = env.module_check_dependencies("text_server_fb", ["freetype"], True)
-msdfgen_enabled = env.module_check_dependencies("text_server_fb", ["msdfgen"], True)
+freetype_enabled = "freetype" in env.module_list
+msdfgen_enabled = "msdfgen" in env.module_list
env_text_server_fb = env_modules.Clone()