소스 검색

Merge pull request #450 from proxemy/master

Bugfix. Project generation now respects the given 'headers_dir' start…
Marc 5 년 전
부모
커밋
d53b294f5b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      SConstruct

+ 1 - 1
SConstruct

@@ -359,7 +359,7 @@ json_api_file = ''
 if 'custom_api_file' in env:
     json_api_file = env['custom_api_file']
 else:
-    json_api_file = os.path.join(os.getcwd(), 'godot_headers', 'api.json')
+    json_api_file = os.path.join(os.getcwd(), env['headers_dir'], 'api.json')
 
 if env['generate_bindings']:
     # Actually create the bindings here