Adds drm headers to an external repository

It's highly likely that the host system won't have these headers installed.
Carry them in an external repository to ensure they are available.

Fixes #1047
This commit is contained in:
Ryan Houdek 2021-06-04 21:26:45 -07:00
parent 97c4ba018b
commit 2101914c9d
3 changed files with 5 additions and 0 deletions

3
.gitmodules vendored
View File

@ -36,3 +36,6 @@
[submodule "External/fmt"]
path = External/fmt
url = https://github.com/fmtlib/fmt.git
[submodule "External/drm-headers"]
path = External/drm-headers
url = https://github.com/FEX-Emu/drm-headers.git

1
External/drm-headers vendored Submodule

@ -0,0 +1 @@
Subproject commit 2b23749e35cfbde8de875e803fd7c903a48a71e3

View File

@ -59,6 +59,7 @@ add_library(LinuxEmulation STATIC
target_link_libraries(LinuxEmulation FEXCore pthread numa)
target_include_directories(LinuxEmulation PRIVATE ${CMAKE_BINARY_DIR}/generated)
target_include_directories(LinuxEmulation PRIVATE ${PROJECT_SOURCE_DIR}/External/drm-headers/include/)
set(HEADERS_TO_VERIFY
x32/Types.h x86_32 # This needs to match structs to 32bit structs