mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
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
15 lines
363 B
CMake
15 lines
363 B
CMake
set(SOURCES
|
|
Database.cpp
|
|
)
|
|
|
|
find_package(SQLite3 REQUIRED)
|
|
|
|
ladybird_lib(LibDatabase database EXPLICIT_SYMBOL_EXPORT)
|
|
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()
|