Update to C++14

This commit is contained in:
Chris Robinson 2020-03-22 08:05:22 -07:00
parent adf28d87aa
commit f6a0b004e0
2 changed files with 3 additions and 3 deletions

View File

@ -125,8 +125,8 @@ SET(EXPORT_DECL "")
CHECK_TYPE_SIZE("long" SIZEOF_LONG)
# Require C++11
SET(CMAKE_CXX_STANDARD 11)
# Require C++14
SET(CMAKE_CXX_STANDARD 14)
SET(CMAKE_CXX_STANDARD_REQUIRED TRUE)
# Prefer C11, but support C99 and C90 too.

View File

@ -1,7 +1,7 @@
/*
* An example showing how to play a stream sync'd to video, using ffmpeg.
*
* Requires C++11.
* Requires C++14.
*/
#include <condition_variable>