From d35c84946852aadbc1e5ebc8c338357a69f8de00 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Fri, 2 Sep 2016 13:47:08 +0300 Subject: [PATCH] add std=c++0x for older gcc (fixes #96) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b330d6..95443aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ set( GRIVE_VERSION "0.5.1-dev" ) # common compile options add_definitions( -DVERSION="${GRIVE_VERSION}" ) -add_definitions( -D_FILE_OFFSET_BITS=64 ) +add_definitions( -D_FILE_OFFSET_BITS=64 -std=c++0x ) add_subdirectory( libgrive ) add_subdirectory( grive )