Skip to content

Commit 75fcafa

Browse files
committed
The source_root was wrong computed
Using 'SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))' leads to an empty string if the path is relative.
1 parent 0521663 commit 75fcafa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
CONFIGURATIONS = ['Release', 'Debug']
10-
SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))
10+
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
1111

1212

1313
def main():

0 commit comments

Comments
 (0)