From 21c9022a3f5a435de8c880d1ea51eb949e921a60 Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Tue, 3 May 2016 12:24:33 +0100 Subject: [PATCH] Keep C++11 flag explicitely defined in Cmake --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6aa6aee..9dda6cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,8 @@ project(gpu-stream) set(gpu-stream_VERSION_MAJOR 2) set(gpu-stream_VERSION_MINOR 0) +list(APPEND CMAKE_CXX_FLAGS --std=c++11) + configure_file(common.h.in common.h) find_package(CUDA 7.0 QUIET)