Blender Git Loki

Git Commits -> Revision 8b82693

Revision 8b82693 by Ray molenkamp (master)
August 27, 2020, 04:25 (GMT)
MSVC: Set proper flags for C++17 support.

MSVC already builds with the /std:c++17 flag but for
'reasons' [1] MSVC still gives the wrong value for the
__cplusplus define.

This change sets an additional cxx flag on supported
compilers to allow the compiler properly identify
C++17 support.

This resolves 2 warnings coming out of bullet about
the register keyword being deprecated.

[1] https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/

Commit Details:

Full Hash: 8b8269389858b54052149a576f1a562e18540862
Parent Commit: bbf00a6
Lines Changed: +6, -0

1 Modified Path:

/CMakeLists.txt (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021