Skip to content

Commit

Permalink
[Encode] Fix compiling issue when disable AVC encode
Browse files Browse the repository at this point in the history
  • Loading branch information
bai-isaac authored and Sherry-Lin committed Apr 4, 2023
1 parent e1c4f82 commit db4a015
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions media_driver/agnostic/Xe_M/Xe_XPM_plus/codec/hal/media_srcs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,14 @@
# encode


if ("${AVC_Encode_VDEnc_Supported}" STREQUAL "yes")
set (TMP_ENC_SOURCES_
${TMP_ENC_SOURCES_}
${CMAKE_CURRENT_LIST_DIR}/codechal_hw_xe_xpm_plus.cpp
)
set (TMP_ENC_HEADERS_
${TMP_ENC_HEADERS_}
${CMAKE_CURRENT_LIST_DIR}/codechal_hw_xe_xpm_plus.h
)
endif ()
set (TMP_ENC_SOURCES_
${TMP_ENC_SOURCES_}
${CMAKE_CURRENT_LIST_DIR}/codechal_hw_xe_xpm_plus.cpp
)
set (TMP_ENC_HEADERS_
${TMP_ENC_HEADERS_}
${CMAKE_CURRENT_LIST_DIR}/codechal_hw_xe_xpm_plus.h
)

set(SOURCES_
${SOURCES_}
Expand Down

0 comments on commit db4a015

Please sign in to comment.