aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-05-12 07:16:00 +0200
committerSven Göthel <[email protected]>2024-05-12 07:16:00 +0200
commit1e5b78f1cc8c2a7a641ee6e9211edf07598ba6b3 (patch)
tree73f3f2d535fa7dc11cef400a23abb7e3ab7d0c2a /cmake/modules
parent436e8a305a17cdee80fbdb7be4100899b291e6dd (diff)
${CMAKE_CURRENT_SOURCE_DIR}/.clangd: Set CompilationDatabase to ${CMAKE_CURRENT_BINARY_DIR}
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/clangd.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/clangd.in b/cmake/modules/clangd.in
index af840c0..d5519fa 100644
--- a/cmake/modules/clangd.in
+++ b/cmake/modules/clangd.in
@@ -14,7 +14,7 @@
# Tell clangd to use the compile_commands.json file in the build/default folder
CompileFlags:
- CompilationDatabase: build/default
+ CompilationDatabase: @CMAKE_CURRENT_BINARY_DIR@
Add: [@jaulib_clangd_source_args@]
Diagnostics: