summaryrefslogtreecommitdiff
path: root/graphics/cimg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/cimg/Makefile')
-rw-r--r--graphics/cimg/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile
index 8c2b357208ca..b881bd920b6d 100644
--- a/graphics/cimg/Makefile
+++ b/graphics/cimg/Makefile
@@ -85,6 +85,9 @@ USE_XORG+= xext
DOCBASE= README.txt
CFLAGS+= -I${LOCALBASE}/include/Imath -I${LOCALBASE}/include/OpenEXR
MAKE_ARGS+= CPPFLAGS="${CFLAGS}" FREEBSD_LDFLAGS="${LDFLAGS}"
+. if !exists(/usr/include/omp.h)
+MAKE_ARGS+= OPENMP_CFLAGS=
+. endif
PROGS= CImg_demo captcha curve_editor2d dtmri_view3d \
edge_explorer2d fade_images gaussian_fit1d generate_loop_macros \
hough_transform2d image2ascii image_registration2d image_surface3d \