From 22c34be73e45dbd988bd3e999cb16054daadf9cc Mon Sep 17 00:00:00 2001 From: swatanabe Date: Thu, 28 Jun 2018 13:05:29 -0600 Subject: [PATCH] Search for sublibs regardless of whether this is a top level library or not. Without this, chrono/stopwatches/include will not be included in the main boost/ directory. --- MakeBoostDistro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MakeBoostDistro.py b/MakeBoostDistro.py index da3aa0a..aac1986 100755 --- a/MakeBoostDistro.py +++ b/MakeBoostDistro.py @@ -174,7 +174,7 @@ def CopyNestedProject(src, dst, headers, p): BoostSubProjects.add(f) elif os.path.isdir(os.path.join(SourceLibs,f,"include")): BoostSubProjects.add(f) - elif os.path.isfile(os.path.join(SourceLibs,f,"sublibs")): + if os.path.isfile(os.path.join(SourceLibs,f,"sublibs")): for s in os.listdir(os.path.join(SourceLibs,f)): if os.path.isdir(os.path.join(SourceLibs,f,s)): if os.path.isfile(os.path.join(SourceLibs,f,s,"meta","libraries.json")):