Ladybird: Don't link SQLServer against Qt when it doesn't need it

This commit is contained in:
Andrew Kaster 2023-08-01 19:22:28 -06:00 committed by Andreas Kling
parent 172fba4582
commit 3be71a81bb
Notes: sideshowbarker 2024-07-18 03:20:18 +09:00
2 changed files with 3 additions and 16 deletions

View file

@ -7,8 +7,8 @@ set(SQL_SERVER_SOURCES
main.cpp
)
qt_add_executable(SQLServer ${SQL_SERVER_SOURCES})
add_executable(SQLServer ${SQL_SERVER_SOURCES})
target_include_directories(SQLServer PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Services/)
target_include_directories(SQLServer PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
target_link_libraries(SQLServer PRIVATE Qt::Core Qt::Gui Qt::Network LibCore LibFileSystem LibIPC LibSQL LibMain)
target_link_libraries(SQLServer PRIVATE LibCore LibFileSystem LibIPC LibSQL LibMain)

View file

@ -1,18 +1,5 @@
import("//Ladybird/link_qt.gni")
link_qt("SQLServer_qt") {
qt_components = [
"Core",
"Gui",
"Network",
]
}
executable("SQLServer") {
configs += [
"//Ladybird:ladybird_config",
":SQLServer_qt",
]
configs += [ "//Ladybird:ladybird_config" ]
include_dirs = [
"//Userland/Libraries",
"//Userland/Services",