Commit 8d9e8a0f authored by Kenton Varda's avatar Kenton Varda

Merge pull request #152 from pqu/cmake-fix

CMake: Fix #149.
parents a8d0bff8 3c711c07
......@@ -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