1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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

CMake Error in CMakeLists.txt:
  Target "systemshock" 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-06-29 05:25:00 +00:00
parent 1fc3c383a4
commit 001cec9205
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540749

View File

@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth \
libasound.so:audio/alsa-lib
USES= cmake gl sdl pkgconfig
USES= cmake compiler:c++11-lang gl pkgconfig sdl
USE_GL= gl glu
USE_SDL= sdl2 mixer2