From c11896701cdc28e6a363af9242c111164f14e074 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 30 Jan 2016 17:51:20 +0100 Subject: -add c++11 support for DiceParser --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 11821d5..cc9a6ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,10 @@ add_definitions(${Qt5Core_DEFINITIONS}) set(MODE "cli") +ADD_DEFINITIONS( + -std=c++11 # Or -std=c++0x + # Other flags +) add_executable( dice diceparser.cpp -- cgit v1.2.3-70-g09d2