Skip to content

Commit

Permalink
graphics/gegl: fix build without libomp
Browse files Browse the repository at this point in the history
meson.build:413:12: ERROR: Dependency "openmp" not found, tried system
  • Loading branch information
pkubaj committed Aug 12, 2023
1 parent ba1796e commit 8de2553
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions graphics/gegl/Makefile
Expand Up @@ -23,8 +23,13 @@ LIB_DEPENDS= libbabl-0.1.so:x11/babl \
libnsgif.so:graphics/libnsgif \
libpng.so:graphics/png

USES= compiler:c++14-lang cpe gettext gnome jpeg localbase \
meson pkgconfig shebangfix uniquefiles tar:xz
USES= cpe gettext gnome jpeg localbase meson pkgconfig shebangfix \
uniquefiles tar:xz
.if !exists(/usr/include/omp.h)
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c++14-lang
.endif
USE_GNOME= glib20 introspection:build
USE_LDCONFIG= yes
MESON_ARGS= -Ddocs=false \
Expand Down

0 comments on commit 8de2553

Please sign in to comment.