summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/palisade/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/palisade/Makefile b/security/palisade/Makefile
index 3f9398de31eb..ae2e9cb810c0 100644
--- a/security/palisade/Makefile
+++ b/security/palisade/Makefile
@@ -3,7 +3,7 @@
PORTNAME= palisade
DISTVERSIONPREFIX= v
DISTVERSION= 1.8.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security math
MAINTAINER= yuri@FreeBSD.org
@@ -37,6 +37,11 @@ LDFLAGS+= ${LOCALBASE}/lib/libntl.so # libntl is optional in palisade but is nec
CXXFLAGS+= -I${WRKSRC}/third-party/google-test/googletest
+OPTIONS_DEFINE= OPENMP
+OPTIONS_DEFAULT= OPENMP
+
+OPENMP_CMAKE_BOOL= USE_OpenMP
+
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_UNITTESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \