You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
openh264: Use C++17, now required by gtest
Closes: https://trac.macports.org/ticket/73163
This commit is contained in:
committed by
Ryan Carsten Schmidt
parent
3ee465c582
commit
628be7de2c
@@ -32,9 +32,9 @@ patchfiles-append meson-build-do-not-hardcode-libc-on-darwin.diff
|
||||
# Undefined symbols:
|
||||
# "__ZN7testing8internal23MakeAndRegisterTestInfoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS8_S8_NS0_12CodeLocationEPKvPFvvESD_PNS0_15TestFactoryBaseE"
|
||||
# Also required by gtest: https://github.com/cisco/openh264/issues/3807
|
||||
compiler.cxx_standard 2014
|
||||
compiler.cxx_standard 2017
|
||||
configure.cxxflags-append \
|
||||
-std=c++14
|
||||
-std=c++17
|
||||
|
||||
if {[string match *clang* ${configure.compiler}]} {
|
||||
configure.cxxflags-append \
|
||||
|
||||
Reference in New Issue
Block a user