Enable C++11

This commit is contained in:
Lukas W
2014-11-08 10:26:10 +01:00
parent 9d3b14e298
commit 9d395ac0c1
2 changed files with 3 additions and 2 deletions

View File

@@ -22,7 +22,6 @@ IF(VERSION_SUFFIX)
SET(VERSION "${VERSION}-${VERSION_SUFFIX}")
ENDIF(VERSION_SUFFIX)
INCLUDE(DetectMachine)
@@ -443,6 +442,8 @@ ADD_SUBDIRECTORY(plugins)
ADD_SUBDIRECTORY(data)
ADD_SUBDIRECTORY(doc)
# Enable C++11
ADD_DEFINITIONS("-std=c++0x")
#
# build LMMS-binary

View File

@@ -1,5 +1,5 @@
#ifdef __GNUC__
#define GCC_VERSION "GCC "__VERSION__
#define GCC_VERSION "GCC " __VERSION__
#else
#define GCC_VERSION "unknown compiler"
#endif