From ec0c1b954ec9bc00256e20f1e7638e36ca4cefdf Mon Sep 17 00:00:00 2001 From: Ramin Yaghoubzadeh <ryaghoubzadeh@uni-bielefeld.de> Date: Thu, 26 Feb 2015 15:30:35 +0100 Subject: [PATCH] C++: build test directory with c++11 set --- ipaacalib/cpp/test/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipaacalib/cpp/test/CMakeLists.txt b/ipaacalib/cpp/test/CMakeLists.txt index 48a93b3..6a56b61 100644 --- a/ipaacalib/cpp/test/CMakeLists.txt +++ b/ipaacalib/cpp/test/CMakeLists.txt @@ -3,6 +3,9 @@ cmake_minimum_required (VERSION 2.6) # project name project (ipaaca_cpp_test) +# use C++11 (starting with proto v2 / ipaaca-c++ release 12) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + ## use the following line to enable console debug messages in ipaaca set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DIPAACA_DEBUG_MESSAGES") -- GitLab