skullanbones / mpeg2ts

A fast, cross-platform and modern C++ SDK for all your MPEG-2 transport stream media format needs following international specification ISO/IEC 13818-1.
Other
71 stars 6 forks source link

Fix macos build googletest requires C++ 11 #40

Open kohnech opened 4 years ago

kohnech commented 4 years ago

There is an "ugly hack" in 3rd-party/CMakeLists.txt for APPLE to build googletest with :

if (APPLE)
    set(CMAKE_CXX_STANDARD 11)
endif(APPLE)

This should be done in a better way