Run the feature detection at CMake time

This commit is contained in:
Matt Williams 2012-11-23 11:40:56 +00:00
parent a24fcc0c03
commit 596bf12877

View File

@ -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)