ladybird/Userland/Libraries/LibEDID
Timothy Flynn 99c8dadcec LibEDID: Use correct paths for LibEDID generated files
Code generators that generate their files for both Lagom and Serenity
have a blob in their CMake file like this:

    set(TIME_ZONE_DATA_HEADER LibTimeZone/TimeZoneData.h)
    set(TIME_ZONE_DATA_IMPLEMENTATION LibTimeZone/TimeZoneData.cpp)
    set(TIME_ZONE_META_TARGET_PREFIX LibTimeZone_)

    if (CMAKE_CURRENT_BINARY_DIR MATCHES ".*/LibTimeZone")
        # Serenity build.
        set(TIME_ZONE_DATA_HEADER TimeZoneData.h)
        set(TIME_ZONE_DATA_IMPLEMENTATION TimeZoneData.cpp)
        set(TIME_ZONE_META_TARGET_PREFIX "")
    endif()

LibEDID generates files only for Serenity, but was using the Lagom build
version of the _HEADER, _IMPLEMENTATION, and _PREFIX variables. Thus if
pnp_ids.cmake was ever touched, the following error would be raised:

    Userland/Libraries/LibEDID/EDID.cpp:18:18: fatal error:
    LibEDID/PnpIDs.h: No such file or directory
        18 | #        include <LibEDID/LibEDID/PnpIDs.h>

Use the Serenity paths in pnp_ids.cmake and in the #include within
LibEDID itself.
2022-01-26 16:37:38 +01:00
..
CMakeLists.txt Meta+LibEDID: Download and generate the PNP ID database 2022-01-23 22:45:21 +00:00
DMT.cpp LibEDID: Add a library to parse EDID blobs 2022-01-23 22:45:21 +00:00
DMT.h LibEDID: Add a library to parse EDID blobs 2022-01-23 22:45:21 +00:00
EDID.cpp LibEDID: Use correct paths for LibEDID generated files 2022-01-26 16:37:38 +01:00
EDID.h LibEDID: Fix calculating height and refresh rate for interlaced modes 2022-01-24 19:29:06 +00:00
VIC.cpp LibEDID: Add a library to parse EDID blobs 2022-01-23 22:45:21 +00:00
VIC.h LibEDID: Add a library to parse EDID blobs 2022-01-23 22:45:21 +00:00