Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check the dependencies of libva-x11 #1223

Merged
merged 1 commit into from Oct 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion media_driver/cmake/linux/media_compile_flags_linux.cmake
Expand Up @@ -180,7 +180,7 @@ set(MEDIA_COMPILER_FLAGS_DEBUG
-DINSTR_GTUNE_EXT
)

if(X11_FOUND)
if(X11_FOUND AND LIBVAX11_FOUND)
add_definitions(-DX11_FOUND)
endif()

Expand Down
1 change: 1 addition & 0 deletions media_driver/media_top_cmake.cmake
Expand Up @@ -53,6 +53,7 @@ message("-- media -- LIBVA_INSTALL_PATH = ${LIBVA_INSTALL_PATH}")
message("-- media -- MEDIA_VERSION = ${MEDIA_VERSION}")
if(X11_FOUND)
message("-- media -- X11 Found")
pkg_check_modules(LIBVAX11 libva-x11)
endif()

set(LIB_NAME_OBJ "${LIB_NAME}_OBJ")
Expand Down