LibDatabase: Switch to new SQLite3 library name
The namespace changed in CMake 4.3.1. A verbose deprecation warning is now logged repeatedly during the build. See: https://github.com/Kitware/CMake/commit/d4754c1
This commit is contained in:
parent
9f4edcfb72
commit
094891fdf2
1 changed files with 7 additions and 1 deletions
|
|
@ -5,4 +5,10 @@ set(SOURCES
|
|||
find_package(SQLite3 REQUIRED)
|
||||
|
||||
ladybird_lib(LibDatabase database EXPLICIT_SYMBOL_EXPORT)
|
||||
target_link_libraries(LibDatabase PRIVATE LibCore SQLite::SQLite3)
|
||||
target_link_libraries(LibDatabase PRIVATE LibCore)
|
||||
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL 4.3.1)
|
||||
target_link_libraries(LibDatabase PRIVATE SQLite3::SQLite3)
|
||||
else()
|
||||
target_link_libraries(LibDatabase PRIVATE SQLite::SQLite3)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in a new issue