mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:27:35 +00:00
Ladybird: Don't link SQLServer against Qt when it doesn't need it
This commit is contained in:
parent
172fba4582
commit
3be71a81bb
2 changed files with 3 additions and 16 deletions
|
@ -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)
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue