From 596bf12877caae5bef908603904a4801a2f68d31 Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Fri, 23 Nov 2012 11:40:56 +0000 Subject: [PATCH] Run the feature detection at CMake time --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e8bbf35..a1004858 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,6 +69,8 @@ if(CMAKE_CXX_COMPILER MATCHES "clang") ADD_DEFINITIONS(-std=c++0x) #Enable C++0x mode endif() +INCLUDE(cmake/Modules/CheckCXX11Features.cmake) + ADD_SUBDIRECTORY(library) OPTION(ENABLE_EXAMPLES "Should the examples be built" ON)