Add env.Depends to modules_enabled.gen.h generator

Sometimes scons doesn't detects that a new module is being added. This commit fix it.

(cherry picked from commit b667e72adf)
This commit is contained in:
Andrea Catania 2021-05-05 11:35:33 +02:00 committed by Rémi Verschelde
parent 875045adde
commit 74e6adda57
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -10,6 +10,7 @@ env_modules = env.Clone()
Export("env_modules")
env.Depends("modules_enabled.gen.h", Value(env.module_list))
env.CommandNoCache("modules_enabled.gen.h", Value(env.module_list), modules_builders.generate_modules_enabled)
env.modules_sources = []