mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 17:55:08 +00:00

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.
14 lines
307 B
CMake
14 lines
307 B
CMake
serenity_component(
|
|
ImageViewer
|
|
RECOMMENDED
|
|
TARGETS ImageViewer
|
|
DEPENDS ImageDecoder
|
|
)
|
|
|
|
set(SOURCES
|
|
main.cpp
|
|
ViewWidget.cpp
|
|
)
|
|
|
|
serenity_app(ImageViewer ICON filetype-image)
|
|
target_link_libraries(ImageViewer PRIVATE LibCore LibDesktop LibGUI LibGfx LibImageDecoderClient LibMain)
|