mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
![Tim Schumacher](/assets/img/avatar_default.png)
Even though the toolchain implicitly links against -lc, it does not know where it should get LibC from except for the sysroot. In the case of Clang this causes it to pick up the LibC stub instead, which might be slightly outdated and feature missing symbols. This is currently not an issue that manifests because we pass through the dependency on LibC and other libraries by accident, which causes CMake to link against the LibC target (instead of just the library), and thus points the linker at the build output directory. Since we are looking to fix that in the upcoming commits, let's make sure that everything will still be able to find the proper LibC first.
12 lines
261 B
CMake
12 lines
261 B
CMake
include(${SerenityOS_SOURCE_DIR}/Meta/CMake/pnp_ids.cmake)
|
|
|
|
set(SOURCES
|
|
DMT.cpp
|
|
EDID.cpp
|
|
VIC.cpp
|
|
${PNP_IDS_SOURCES}
|
|
)
|
|
|
|
serenity_lib(LibEDID edid)
|
|
target_compile_definitions(LibEDID PRIVATE ENABLE_PNP_IDS_DATA=$<BOOL:${ENABLE_PNP_IDS_DOWNLOAD}>)
|