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 <kefu.chai@scylladb.com>
Closes scylladb/scylladb#22754
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user