aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Scott Ramsby <scott.ramsby@oculus.com>2019-05-03 14:14:09 -0700
committerGravatar Scott Ramsby <scott.ramsby@oculus.com>2019-05-03 14:14:09 -0700
commitff06ef7584147944a2c48f7e11154998dad9f7a1 (patch)
treecf475f67f16219e662d33193f96f18a4be3e1f94 /CMakeLists.txt
parente9f0eb8a5e6c5b17d85cff6ea45fe9aec35a0248 (diff)
Eigen: Fix MSVC C++17 language standard detection logic
To detect C++17 support, use _MSVC_LANG macro instead of _MSC_VER. _MSC_VER can indicate whether the current compiler version could support the C++17 language standard, but not whether that standard is actually selected (i.e. via /std:c++17). See these web pages for more details: https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions