mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03: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
@ -7,8 +7,8 @@ set(SQL_SERVER_SOURCES
|
|||||||
main.cpp
|
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 ${SERENITY_SOURCE_DIR}/Userland/Services/)
|
||||||
target_include_directories(SQLServer PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
|
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") {
|
executable("SQLServer") {
|
||||||
configs += [
|
configs += [ "//Ladybird:ladybird_config" ]
|
||||||
"//Ladybird:ladybird_config",
|
|
||||||
":SQLServer_qt",
|
|
||||||
]
|
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"//Userland/Libraries",
|
"//Userland/Libraries",
|
||||||
"//Userland/Services",
|
"//Userland/Services",
|
||||||
|
Loading…
Reference in New Issue
Block a user