Update to C++14
This commit is contained in:
parent
adf28d87aa
commit
f6a0b004e0
@ -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.
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user