mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
science/hdf5: Convert to USES= cmake:testing
Only build unit test(s) when requested Approved by: portmgr (blanket, enhancement)
This commit is contained in:
parent
aa38046d1c
commit
c18ce60110
1 changed files with 2 additions and 1 deletions
|
@ -14,13 +14,14 @@ WWW= https://www.hdfgroup.org/ \
|
|||
LICENSE= BSD4CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= cmake compiler:c11 localbase perl5
|
||||
USES= cmake:testing compiler:c11 localbase perl5
|
||||
USE_PERL5= build
|
||||
|
||||
CFLAGS+= -D__LONG_LONG_SUPPORTED
|
||||
CMAKE_ARGS= -DDEFAULT_API_VERSION=v112 \
|
||||
-DHDF5_INSTALL_CMAKE_DIR=lib/cmake/hdf5 \
|
||||
-DHDF5_INSTALL_INCLUDE_DIR=${PREFIX}/include
|
||||
CMAKE_OFF= BUILD_TESTING
|
||||
CMAKE_ON= HDF5_BUILD_HL_LIB HDF5_BUILD_TOOLS HDF5_ENABLE_INSTRUMENT HDF5_ENABLE_Z_LIB_SUPPORT HDF5_STRICT_FORMAT_CHECKS
|
||||
TEST_TARGET= test
|
||||
USE_LDCONFIG= yes
|
||||
|
|
Loading…
Add table
Reference in a new issue