package/opencv: add openmp support
Note that this situation is not ideal because it only add openmp support to the Buildroot toolchain, not the external ones; but a couple of packages already are in this situation. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c96fb31aa1
commit
7a76c358fa
@ -250,6 +250,8 @@ else
|
|||||||
OPENCV_CONF_OPTS += -DWITH_JPEG=OFF
|
OPENCV_CONF_OPTS += -DWITH_JPEG=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
OPENCV_CONF_OPTS += -DWITH_OPENMP=$(if $(BR2_GCC_ENABLE_OPENMP),ON,OFF)
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_PNG),y)
|
ifeq ($(BR2_PACKAGE_OPENCV_WITH_PNG),y)
|
||||||
OPENCV_CONF_OPTS += -DWITH_PNG=ON
|
OPENCV_CONF_OPTS += -DWITH_PNG=ON
|
||||||
OPENCV_DEPENDENCIES += libpng
|
OPENCV_DEPENDENCIES += libpng
|
||||||
|
Loading…
Reference in New Issue
Block a user