From cfd941effb1b2183f6d3f693496aadd45762523f Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 22 Feb 2017 09:38:30 +0100 Subject: Resolve circular header files inclusion Change-Id: Ida3de058f1edd2892ebc858d1eb714471fd5f65c Signed-off-by: Romain Forlot --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b08dead9..8fd38ec7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -40,6 +40,7 @@ add_compile_options(-Werror=implicit-function-declaration) add_compile_options(-ffunction-sections -fdata-sections) add_compile_options(-Wl,--as-needed -Wl,--gc-sections) add_compile_options(-fPIC) +add_compile_options(-std=c++11) set(CMAKE_C_FLAGS_PROFILING "-g -O0 -pg -Wp,-U_FORTIFY_SOURCE") set(CMAKE_C_FLAGS_DEBUG "-g -O0 -ggdb -Wp,-U_FORTIFY_SOURCE") -- cgit 1.2.3-korg