From ce2f1b845fbd94013e36377aaa7375466cf1241d Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Fri, 21 Oct 2022 21:43:56 +0200 Subject: Everywhere: Mark dependencies of most targets as PRIVATE 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. --- Userland/Demos/LibGfxScaleDemo/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Demos/LibGfxScaleDemo') diff --git a/Userland/Demos/LibGfxScaleDemo/CMakeLists.txt b/Userland/Demos/LibGfxScaleDemo/CMakeLists.txt index 0d24101694..76695d3f4a 100644 --- a/Userland/Demos/LibGfxScaleDemo/CMakeLists.txt +++ b/Userland/Demos/LibGfxScaleDemo/CMakeLists.txt @@ -8,4 +8,4 @@ set(SOURCES ) serenity_app(LibGfxScaleDemo ICON app-libgfx-demo) -target_link_libraries(LibGfxScaleDemo LibGUI LibIPC LibGfx LibCore LibMain) +target_link_libraries(LibGfxScaleDemo PRIVATE LibGUI LibIPC LibGfx LibCore LibMain) -- cgit v1.2.3