From 48c802d4b39718f97c24132ef6d1f3dd532c67a2 Mon Sep 17 00:00:00 2001
From: qbigot <quentin.bigot@insa-rennes.fr>
Date: Tue, 4 Jul 2017 11:15:19 +0200
Subject: [PATCH] fixed compilation issue

---
 CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 640d3c2..88753a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,9 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
 # Instruct CMake to run moc automatically when needed.
 set(CMAKE_AUTOMOC ON)
 
+set (CMAKE_C_FLAGS "--std=gnu++11 ${CMAKE_C_FLAGS}")
+set (CMAKE_CXX_FLAGS "--std=gnu++11 ${CMAKE_CXX_FLAGS}")
+
 # Find the Qt libraries
 find_package(Qt5Core REQUIRED)
 find_package(Qt5Gui REQUIRED)
-- 
GitLab