diff options
author | Andrew Kaster <akaster@serenityos.org> | 2022-10-13 20:14:36 -0600 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-16 16:36:39 +0200 |
commit | 1ae0cfd08b90bb0c2260ebb48a55b5b8b3d7eada (patch) | |
tree | cb03f0ba7397a0deee929190022c895317e30bed /Userland/Libraries/LibGPU | |
parent | a01c0e81f32df9cdcc2a48ab77b2fdd191264b63 (diff) | |
download | serenity-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.txt | 2 |
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) |