cmake_minimum_required (VERSION 2.8)

include (CodeGenerator)

set (KMS_FILTERS_IMPL_HEADERS
  implementation/objects/OpenCVProcess.hpp
)

generate_code (
  MODELS ${CMAKE_CURRENT_SOURCE_DIR}/interface
  SERVER_IMPL_LIB_EXTRA_HEADERS ${KMS_FILTERS_IMPL_HEADERS}
  SERVER_IMPL_LIB_EXTRA_INCLUDE_DIRS ${OPENCV_INCLUDE_DIRS}
  SERVER_IMPL_LIB_EXTRA_LIBRARIES ${OPENCV_LIBRARIES}
  SERVER_STUB_DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/implementation/objects
)

cmake_minimum_required (VERSION 2.8)

include (CodeGenerator)

set (KMS_FILTERS_IMPL_HEADERS
  implementation/objects/OpenCVProcess.hpp
)

generate_code (
  MODELS ${CMAKE_CURRENT_SOURCE_DIR}/interface
  SERVER_IMPL_LIB_EXTRA_HEADERS ${KMS_FILTERS_IMPL_HEADERS}
  SERVER_IMPL_LIB_EXTRA_INCLUDE_DIRS ${OPENCV_INCLUDE_DIRS}
  SERVER_IMPL_LIB_EXTRA_LIBRARIES ${OPENCV_LIBRARIES}
  SERVER_STUB_DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/implementation/objects
  SERVER_IMPL_LIB_PKGCONFIG_EXTRA_REQUIRES "opencv"
)

Add opencv to generated pkg-config
Add opencv to generated pkg-config

Change-Id: I4fec44bfe8a2e3bfa1ecb69ff4d4dede35967923
