From 0185aa458b87f2bb4155a67eb4e5f7b8fe0de795 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 9 Feb 2025 11:24:57 +0800 Subject: [PATCH] build: cmake: remove trailing comma in db/CMakeLists.txt source list In c5668d99, a new source file row_cache.cc was added to the `db` target, but with an extraneous trailing comma. In CMake's target_sources(), source files should be space-separated - any comma is interpreted as part of the filename, causing build failures like: ``` CMake Error at db/CMakeLists.txt:2 (target_sources): Cannot find source file: row_cache.cc, ``` Fix the issue by removing the trailing comma. Signed-off-by: Kefu Chai Closes scylladb/scylladb#22754 --- db/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/CMakeLists.txt b/db/CMakeLists.txt index bac41a919e..0ad9ffdcc7 100644 --- a/db/CMakeLists.txt +++ b/db/CMakeLists.txt @@ -38,7 +38,7 @@ target_sources(db snapshot/backup_task.cc rate_limiter.cc per_partition_rate_limit_options.cc - row_cache.cc, + row_cache.cc tablet_options.cc) target_include_directories(db PUBLIC