devel/abseil: Change to C++17 to allow all dependent ports to build
PR: 250376 Approved by: danfe (maintainer's timeout)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= abseil
|
||||
PORTVERSION= 20200923.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= danfe@FreeBSD.org
|
||||
@@ -14,6 +15,7 @@ USES= cmake compiler:c++11-lang
|
||||
USE_GITHUB= yes
|
||||
GH_PROJECT= ${PORTNAME}-cpp
|
||||
|
||||
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON
|
||||
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \
|
||||
-DCMAKE_CXX_STANDARD=17 # force the same highest C++ standard because of ABI differences: see https://github.com/abseil/abseil-cpp/issues/819
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Reference in New Issue
Block a user