Run the feature detection at CMake time
This commit is contained in:
parent
a24fcc0c03
commit
596bf12877
@ -69,6 +69,8 @@ if(CMAKE_CXX_COMPILER MATCHES "clang")
|
|||||||
ADD_DEFINITIONS(-std=c++0x) #Enable C++0x mode
|
ADD_DEFINITIONS(-std=c++0x) #Enable C++0x mode
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
INCLUDE(cmake/Modules/CheckCXX11Features.cmake)
|
||||||
|
|
||||||
ADD_SUBDIRECTORY(library)
|
ADD_SUBDIRECTORY(library)
|
||||||
|
|
||||||
OPTION(ENABLE_EXAMPLES "Should the examples be built" ON)
|
OPTION(ENABLE_EXAMPLES "Should the examples be built" ON)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user