Fix build on GCC-based systems by adding compiler:c++11-lang to USES:

CMake Error in CMakeLists.txt:
  Target "test_line" requires the language dialect "CXX11" (with compiler
  extensions), 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-02-09 06:02:49 +00:00
parent 242f207e11
commit d0205fe61b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=525627

View File

@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcups.so:print/cups \
libcupsimage.so:print/cups
USES= cmake:insource,noninja
USES= cmake:insource,noninja compiler:c++11-lang
USE_GITHUB= yes