mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
enable c++11 compilation in cmakelists
This commit is contained in:
parent
f15aeb26b3
commit
8a8dc77ef1
@ -552,6 +552,7 @@ option(UNITTESTS "Build unitests" OFF)
|
||||
########################################
|
||||
# Start compiling our code
|
||||
#
|
||||
add_definitions(-std=c++0x)
|
||||
add_subdirectory(Source)
|
||||
|
||||
|
||||
|
@ -7,7 +7,9 @@
|
||||
|
||||
#if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__
|
||||
// GCC 4.4 provides <thread>
|
||||
#ifndef _GLIBCXX_USE_SCHED_YIELD
|
||||
#define _GLIBCXX_USE_SCHED_YIELD
|
||||
#endif
|
||||
#include <thread>
|
||||
#else
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user