mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-01 20:10:28 +00:00
Meta: Make YCM work when the current dir is not the root of the tree
Previously we'd incorrectly use a relative path for the compilation database.
This commit is contained in:
parent
084fad2aca
commit
466000e05f
Notes:
sideshowbarker
2024-07-17 04:59:02 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/466000e05f Pull-request: https://github.com/SerenityOS/serenity/pull/15841
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ if gcc_path:
|
|||
continue
|
||||
serenity_flags.extend(('-isystem', include_path))
|
||||
|
||||
database = ycm_core.CompilationDatabase(f'Build/{serenity_arch}')
|
||||
database = ycm_core.CompilationDatabase(os.path.join(DIR_OF_THIS_SCRIPT, f'Build/{serenity_arch}'))
|
||||
|
||||
|
||||
def is_header_file(filename):
|
||||
|
|
Loading…
Reference in a new issue