mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
msdev: fix
This commit is contained in:
parent
9421963b29
commit
f6b3603934
@ -598,9 +598,9 @@ class MsDevProject(MsDev):
|
||||
Logs.pprint('YELLOW', 'root: ' + bld.root.abspath())
|
||||
root = bld.root.abspath().replace('\\', '/')
|
||||
pref = os.path.commonprefix([root, uselib_inc])
|
||||
Logs.pprint('YELLOW', 'pref: ' + pref.abspath())
|
||||
Logs.pprint('YELLOW', 'pref: '+ pref)
|
||||
if pref == root:
|
||||
node = bld.top_dir.find_dir(uselib_inc)
|
||||
node = bld.root.find_dir(uselib_inc)
|
||||
if node:
|
||||
includes.append(node.path_from(gen.path).replace('/', '\\'))
|
||||
includes.append(uselib_inc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user