Commit 59be1b20 authored by Corentin Ribeyre's avatar Corentin Ribeyre

Make GRQL compliant with recent versions of boost and c++11 standard

parent e7b56338
cmake_minimum_required (VERSION 2.8)
project (GRQL CXX)
macro(use_cxx11)
if (CMAKE_VERSION VERSION_LESS "3.1")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set (CMAKE_CXX_FLAGS "--std=gnu++11 ${CMAKE_CXX_FLAGS}")
endif ()
else ()
set (CMAKE_CXX_STANDARD 11)
endif ()
endmacro(use_cxx11)
use_cxx11()
option (WITH_TESTING OFF)
INCLUDE_DIRECTORIES(include lib)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment