Keep C++11 flag explicitely defined in Cmake

This commit is contained in:
Tom Deakin 2016-05-03 12:24:33 +01:00
parent 662fcaf4b5
commit 21c9022a3f

View File

@ -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)