mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Ladybird: Don't link SQLServer against Qt when it doesn't need it
This commit is contained in:
parent
172fba4582
commit
3be71a81bb
Notes:
sideshowbarker
2024-07-18 03:20:18 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/3be71a81bb Pull-request: https://github.com/SerenityOS/serenity/pull/20313 Reviewed-by: https://github.com/MacDue
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…
Reference in a new issue