Skip to content

Commit 2a873f2

Browse files
authored
[cmake] add one more depth level in linkdef search
To avoid compilation error with modules=OFF or windows of the type: In file included from .\etc\dictpch\allLinkDefs.h:86: .\etc\dictpch\core\base\inc\LinkDef.h:8:10: fatal error: '../../os/winnt/inc/LinkDef.h' file not found #include "../../os/winnt/inc/LinkDef.h"
1 parent 2a04185 commit 2a873f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmake/unix/makepchinput.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ def copyLinkDefs(rootSrcDir, outdir):
346346
os.chdir(rootSrcDir)
347347
wildcards = (os.path.join("*", "inc", "*LinkDef*.h"),
348348
os.path.join("*", "*", "inc", "*LinkDef*.h"),
349+
os.path.join("*", "*", "*", "inc", "*LinkDef*.h"),
349350
os.path.join("*", "*", "inc", "*" , "*LinkDef*.h"))
350351
linkDefNames = []
351352
for wildcard in wildcards:

0 commit comments

Comments
 (0)