devel/json-c: Don't build unit tests unless requested

Add BUILD_TESTING to CMAKE_OFF to avoid always building unit tests

Approved by:	portmgr (blanket, build fix)
This commit is contained in:
Daniel Engberg 2024-10-26 23:11:12 +02:00
parent 6467d8510a
commit ddbaebe2a8

View file

@ -13,7 +13,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake:testing compiler:c11 cpe pathfix
CMAKE_OFF= DISABLE_BSYMBOLIC \
CMAKE_OFF= BUILD_TESTING \
DISABLE_BSYMBOLIC \
DISABLE_JSON_PATCH \
DISABLE_JSON_POINTER \
DISABLE_STATIC_FPIC \