fix openbsd ffmpeg
Some checks failed
eden-license / license-header (pull_request) Failing after 40s

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2025-09-15 22:21:55 -04:00
parent d9f67e949d
commit e80bda07e0
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6

View file

@ -44,6 +44,13 @@ if (PLATFORM_SUN)
endif() endif()
endif() endif()
# Needed for FFmpeg w/ VAAPI and DRM
if (PLATFORM_OPENBSD)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I/usr/X11R6/include")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/usr/X11R6/include")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L/usr/X11R6/lib")
endif()
# Detect current compilation architecture and create standard definitions # Detect current compilation architecture and create standard definitions
# ======================================================================= # =======================================================================