]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: drop c-ares::c-ares alias
authorKefu Chai <tchaikov@gmail.com>
Fri, 13 Jun 2025 08:20:10 +0000 (16:20 +0800)
committerKefu Chai <tchaikov@gmail.com>
Fri, 13 Jun 2025 08:23:49 +0000 (16:23 +0800)
commit8886bdd95387bba8c9fcfe0e2550c5eb430d2a69
treead9e68dc556c06d322d8e58bd713a0944e99459e
parentd28e5fe890016235e302122f955fc910c96f2d43
cmake: drop c-ares::c-ares alias

Remove the c-ares::c-ares alias that was causing build failures after
bumping the minimum CMake version:

```
CMake Error at cmake/modules/Findc-ares.cmake:34 (add_library):
  add_library cannot create ALIAS target "c-ares::c-ares" because another
  target with the same name already exists.
Call Stack (most recent call first):
  src/CMakeLists.txt:463 (_find_package)
  src/seastar/cmake/SeastarDependencies.cmake:136 (find_package)
  src/seastar/CMakeLists.txt:395 (seastar_find_dependencies)`
```

The alias was originally added for backward compatibility with Seastar,
but is no longer needed since the updated Seastar submodule no longer
references the c-ares::c-ares target.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
cmake/modules/Findc-ares.cmake