mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
ce2f1b845f
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
16 lines
336 B
CMake
16 lines
336 B
CMake
serenity_component(
|
|
Chess
|
|
RECOMMENDED
|
|
TARGETS Chess
|
|
DEPENDS ChessEngine
|
|
)
|
|
|
|
set(SOURCES
|
|
main.cpp
|
|
ChessWidget.cpp
|
|
PromotionDialog.cpp
|
|
Engine.cpp
|
|
)
|
|
|
|
serenity_app(Chess ICON app-chess)
|
|
target_link_libraries(Chess PRIVATE LibChess LibConfig LibFileSystemAccessClient LibGfx LibGUI LibCore LibMain LibDesktop)
|