Disable the C++11 feature detection on Visual Studio
There seems to be a bug in the interaction between CMake and Visual Studio which floods the 'recent projects' list with the TRY_COMPILE projects. If in the future this is fixed then it can re-enabled.
This commit is contained in:
@ -69,7 +69,9 @@ if(CMAKE_CXX_COMPILER MATCHES "clang")
|
||||
ADD_DEFINITIONS(-std=c++0x) #Enable C++0x mode
|
||||
endif()
|
||||
|
||||
INCLUDE(cmake/Modules/CheckCXX11Features.cmake)
|
||||
if(NOT MSVC) #This is causing problems in Visual Studio so disable it for now
|
||||
INCLUDE(cmake/Modules/CheckCXX11Features.cmake)
|
||||
endif()
|
||||
|
||||
ADD_SUBDIRECTORY(library)
|
||||
|
||||
|
Reference in New Issue
Block a user