check if a c++11 feature is enabled in compiler with CMAKE
<p>I'm developing a project with CMake. My code contains <code>constexpr</code> methods, that are allowed in Visual Studio 2015, but not in Visual Studio 2013.</p>

<p>How can I check in the <code>CMakeLists.txt</code> if the feature is supported by the specified compiler? I've seen in CMake documentation <a href="https://cmake.org/cmake/help/latest/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.html" rel="noreferrer"><code>CMAKE_CXX_KNOWN_FEATURES</code></a>, but I didn't understand how to use it.</p>