
SET(ADM_LIB ADM_coreLibVAEnc6)
ADM_ADD_SHARED_LIBRARY(${ADM_LIB})
TARGET_SOURCES(${ADM_LIB} PRIVATE
  ADM_coreLibVA_buffer.cpp
  ADM_coreLibVA_encodingContext.cpp
  ADM_coreLibVA_buffer.cpp
  #ADM_coreLibVA_encoder.cpp
  ADM_coreLibVA_bitstream.cpp
)

TARGET_LINK_LIBRARIES(${ADM_LIB} PUBLIC ADM_core6 va  va-x11 "c")
TARGET_LINK_LIBRARIES(${ADM_LIB} PRIVATE ADM_coreLibVA6 ADM_core6 ADM_coreUI6 ADM_coreImage6 ADM_coreLibVA6 ADM_coreVideoEncoder6)
TARGET_INCLUDE_DIRECTORIES(${ADM_LIB} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../include)
TARGET_INCLUDE_DIRECTORIES(${ADM_LIB} PRIVATE ${LIBVA_INCLUDE_DIR})
TARGET_COMPILE_OPTIONS(${ADM_LIB} PRIVATE ${LIBVA_CFLAGS})

ADM_INSTALL_LIB(${ADM_LIB})

