Build dali with C++11 01/128101/1
authorFrancisco Santos <f1.santos@samsung.com>
Fri, 5 May 2017 10:05:33 +0000 (11:05 +0100)
committerFrancisco Santos <f1.santos@samsung.com>
Fri, 5 May 2017 10:05:33 +0000 (11:05 +0100)
Change-Id: I8059c47f591edf89c94c53ffeb38bd5a91564c6c

build/tizen/configure.ac
build/tizen/dali-core.pc.in

index bebc98a..45e7fc5 100644 (file)
@@ -30,6 +30,9 @@ AC_SUBST(DALI_VERSION)
 
 DALI_CFLAGS=-DPLATFORM_TIZEN
 
+# Use C++ 11
+DALI_CFLAGS="$DALI_CFLAGS -std=c++11"
+
 AC_ARG_ENABLE(exportall,
               [AC_HELP_STRING([--enable-exportall],
                               [enables the exporting of all the symbols in the library])],
index 429a595..9c5eb39 100644 (file)
@@ -9,4 +9,4 @@ Description: 3D Canvas Toolkit using OpenGLES
 Version: ${apiversion}
 Requires:
 Libs: -L${libdir} -ldali-core
-Cflags: -I${includedir}
+Cflags: -I${includedir} -std=c++11