1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

math/moab: fix build with GCC

Add USES=compiler:c++11-lang to fix:
CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find MPI (missing: MPI_CXX_FOUND) (found version "3.0")

Approved by:	mentors (implicit approval)
This commit is contained in:
Piotr Kubaj 2019-07-17 07:39:18 +00:00
parent 22f97c847c
commit deb6e8c8fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506793

View File

@ -16,7 +16,7 @@ LIB_DEPENDS= libhdf5.so:science/hdf5 \
libnetcdf.so:science/netcdf \
libopenblas.so:math/openblas
USES= cmake:noninja eigen:3 fortran
USES= cmake:noninja compiler:c++11-lang eigen:3 fortran
USE_LDCONFIG= yes
CMAKE_ARGS= -DBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so -DLAPACK_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so