summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ababa8e..362e3b5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -89,5 +89,5 @@ add_custom_target(dist
# Link combile database for clangd
execute_process(COMMAND cmake -E create_symlink
- "${CMAKE_BINARY_DIR}/compile_commands.json"
- "${CMAKE_SOURCE_DIR}/compile_commands.json")
+ "${cmocka_BINARY_DIR}/compile_commands.json"
+ "${cmocka_SOURCE_DIR}/compile_commands.json")