
SET(ADM_LIB ADM_coreLibVA6)
ADM_ADD_SHARED_LIBRARY(${ADM_LIB})
TARGET_SOURCES(${ADM_LIB} PRIVATE
  ADM_coreLibVA.cpp
)

TARGET_LINK_LIBRARIES(${ADM_LIB} PUBLIC ADM_core6
  va va-x11
  ADM_coreUI6 ADM_coreImage6
  "c"
)
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})

#*************************************************
