Commit 3c711c07 authored by Philip Quinn's avatar Philip Quinn

CMake: Fix #149.

parent fd669b11
......@@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 2.8)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(CheckIncludeFileCXX)
check_include_file_cxx(initializer_list HAS_CXX11)
check_include_file_cxx(initializer_list HAS_CXX11 "-std=c++11")
if(NOT HAS_CXX11)
message(SEND_ERROR "Requires a C++11 compiler and standard library.")
endif()
......
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