mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
79adeb626b
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.
7 lines
282 B
CMake
7 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")
|