Merge pull request #66378 from nikitalita/patch-1

Fix `tools=no` compile when `vsproj=yes`
This commit is contained in:
Rémi Verschelde 2022-09-25 11:27:00 +02:00
commit fd62fbcf8c
1 changed files with 2 additions and 1 deletions

View File

@ -846,7 +846,8 @@ def generate_vs_project(env, num_jobs):
add_to_vs_project(env, env.servers_sources)
if env["tests"]:
add_to_vs_project(env, env.tests_sources)
add_to_vs_project(env, env.editor_sources)
if env["tools"]:
add_to_vs_project(env, env.editor_sources)
for header in glob_recursive("**/*.h"):
env.vs_incs.append(str(header))