mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Ladybird: Don't link SQLServer against Qt when it doesn't need it
This commit is contained in:
committed by
Andreas Kling
parent
172fba4582
commit
3be71a81bb
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user