Skip to content

Commit

Permalink
[Media Common] [VP] Fix build error when mtl is excluded
Browse files Browse the repository at this point in the history
Remove ARL build dependency on MTL to fix build error when MTL is excluded.
  • Loading branch information
MicroYY authored and intel-mediadev committed Sep 23, 2024
1 parent 998f891 commit 2a7ee2a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions media_driver/cmake/linux/media_gen_flags_linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,9 @@ cmake_dependent_option(PVC

option(MTL "Enable MTL support" ON)

cmake_dependent_option(ARL
"Enable ARL support" ON
"MTL" OFF)
option(ARL "Enable ARL support" ON)

if(MTL)
if(MTL OR ARL)
option(XE_LPM_PLUS_SUPPORT "Enable XE_LPM_PLUS support" ON)
option(XE_LPG "Enable XE_LPG support" ON)
endif()
Expand Down

0 comments on commit 2a7ee2a

Please sign in to comment.