ladybird/Userland/Libraries/LibELF/CMakeLists.txt
implicitfield 79adeb626b LibC+LibELF: Move ELF definitions from LibC to LibELF
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.
2023-06-27 12:40:38 +02:00

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")