summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGPU
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2022-10-13 20:14:36 -0600
committerLinus Groh <mail@linusgroh.de>2022-10-16 16:36:39 +0200
commit1ae0cfd08b90bb0c2260ebb48a55b5b8b3d7eada (patch)
treecb03f0ba7397a0deee929190022c895317e30bed /Userland/Libraries/LibGPU
parenta01c0e81f32df9cdcc2a48ab77b2fdd191264b63 (diff)
downloadserenity-1ae0cfd08b90bb0c2260ebb48a55b5b8b3d7eada.zip
CMake+Userland: Use CMakeLists from Userland to build Lagom Libraries
Also do this for Shell. This greatly simplifies the CMakeLists in Lagom, replacing many glob patterns with a big list of libraries. There are still a few special libraries that need some help to conform to the pattern, like LibELF and LibWebView. It also lets us remove essentially all of the Serenity or Lagom binary directory detection logic from code generators, as now both projects directories enter the generator logic from the same place.
Diffstat (limited to 'Userland/Libraries/LibGPU')
-rw-r--r--Userland/Libraries/LibGPU/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGPU/CMakeLists.txt b/Userland/Libraries/LibGPU/CMakeLists.txt
index da17d4b545..335c460c77 100644
--- a/Userland/Libraries/LibGPU/CMakeLists.txt
+++ b/Userland/Libraries/LibGPU/CMakeLists.txt
@@ -3,6 +3,6 @@ set(SOURCES
)
serenity_lib(LibGPU gpu)
-target_link_libraries(LibGPU LibCore)
+target_link_libraries(LibGPU LibCore ${CMAKE_DL_LIBS})
add_dependencies(LibGPU LibSoftGPU)