Add compiler:c++11-lang to USES to fix build on GCC-based systems:

CMake Error in CMakeLists.txt:
  Target "pdal_io_numpy_test" requires the language dialect "CXX11" , but
  CMake does not know the compile flags to use to enable it.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2020-09-09 14:17:07 +00:00
parent 257395629b
commit 7eafa6e1eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548093

View file

@ -20,7 +20,7 @@ LIB_DEPENDS= libpdal_base.so:math/pdal
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
${PYNUMPY}
USES= python:3.6+
USES= compiler:c++11-lang python:3.6+
USE_PYTHON= autoplist cython distutils
post-install: