anchor.diff:  
   EXTRA_OECMAKE = "-DPYTHON_NUMPY_INCLUDE_DIR:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include \
                    -DBUILD_PYTHON_SUPPORT=ON \
  -                 -DWITH_GSTREAMER=OFF \
                    -DWITH_1394=OFF \
                    -DCMAKE_SKIP_RPATH=ON \
                    ${@bb.utils.contains("TARGET_CC_ARCH", "-msse3", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1", "", d)} \
  
positive.code: PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils,"
  PACKAGECONFIG[libv4l] = "-DWITH_LIBV4L=ON,-DWITH_LIBV4L=OFF,v4l-utils,"
  PACKAGECONFIG[jasper] = "-DWITH_JASPER=ON,-DWITH_JASPER=OFF,jasper,"
  
  inherit distutils-base pkgconfig cmake
  
  
negative.code:                  ${@base_conditional("libdir", "/usr/lib32", "-DLIB_SUFFIX=32", "", d)} \
  "
  
  PACKAGECONFIG ??= "eigen jpeg png tiff \
                     ${@bb.utils.contains('LICENSE_FLAGS_WHITELIST', 'commercial', 'libav', '', d)} \
                     ${@bb.utils.contains('DISTRO_DERIVED_FEATURES', 'v4l', 'v4l libv4l', '', d) \
                     ${@bb.utils.contains('DISTRO_DERIVED_FEATURES', 'gtk-supported', 'gtk', '', d)"
  
  PACKAGECONFIG[eigen] = "-DWITH_EIGEN=ON,-DWITH_EIGEN=OFF,libeigen,"
  PACKAGECONFIG[gtk] = "-DWITH_GTK=ON,-DWITH_GTK=OFF,gtk+,"
  PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON,-DWITH_JPEG=OFF,jpeg,"
  