mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-12 14:12:52 +00:00
This is needed to avoid including LibC headers in Lagom builds. Unfortunately, we cannot rely on the build machine to provide a fully POSIX-compatible ELF header for Lagom builds, so we have to use our own.
6 lines
282 B
CMake
6 lines
282 B
CMake
# LibELF is included within LibC on Serenity and defined as a target in a different place for Lagom,
|
|
# so add a dummy interface library for platform-agnosticism.
|
|
add_library(LibELF INTERFACE)
|
|
|
|
serenity_install_headers("LibELF")
|
|
serenity_install_sources("Userland/Libraries/LibELF")
|