Bug 310541
| Summary: | [CMake] Avoid usage of deprecated SQLite::SQLite3 target | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | Tools / Tests | Assignee: | WebKitGTK+ bugs <bugs-noreply> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Adrian Perez
Using newer CMake versions with -Wdev produces this kind of warnings:
CMake Warning (dev) at Source/cmake/WebKitMacros.cmake:149 (target_link_libraries):
The library that is being linked to, SQLite::SQLite3, is marked as being
deprecated by the owner. The message provided by the developer is:
The target name SQLite::SQLite3 is deprecated. Please use SQLite3::SQLite3
instead.
The new target name has been available since CMake 4.3, but we depend on
CMake 3.20 for now.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adrian Perez
Documentation link: https://cmake.org/cmake/help/latest/module/FindSQLite3.html#module:FindSQLite3
Adrian Perez
*** This bug has been marked as a duplicate of bug 311018 ***