pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/rapidjson rapidjson: needs googletest to build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d781da2b0d74
branches:  trunk
changeset: 387174:d781da2b0d74
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 24 12:50:25 2022 +0000

description:
rapidjson: needs googletest to build

diffstat:

 textproc/rapidjson/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 5a65cace33b3 -r d781da2b0d74 textproc/rapidjson/Makefile
--- a/textproc/rapidjson/Makefile       Mon Oct 24 11:56:27 2022 +0000
+++ b/textproc/rapidjson/Makefile       Mon Oct 24 12:50:25 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/07/25 11:12:29 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/10/24 12:50:25 adam Exp $
 
 DISTNAME=      rapidjson-1.1.0
 PKGREVISION=   1
@@ -13,10 +13,12 @@
 
 USE_CMAKE=     yes
 USE_LANGUAGES= c++11
+TEST_TARGET=   test
 
 CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=TRUE
 
 PKGCONFIG_OVERRIDE+=   RapidJSON.pc.in
 BUILDLINK_TRANSFORM+=  rm:-march=native rm:-Werror
 
+.include "../../devel/googletest/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index