Blender Git Loki

Git Commits -> Revision ebf7673

Revision ebf7673 by Ray molenkamp (master)
July 14, 2021, 21:17 (GMT)
CMake: Have CMake Control the C++ version.

We were manually setting the compiler flags
for C++17 support for this previously. CMake
can do this for us in a uniform way without
having to worry about compiler specifics.

Setting these flags manually somehow brought
out some unwanted behaviour (CMake switching
back to C++14) in the nightly CMake builds.

Unsure if that's a CMake bug or planned
new behaviour for future version, but best
to play it safe.

These flags are supported since CMake 3.1
so should not break anything.

Reviewed by: Campbell Barton

Differential Revision: https://developer.blender.org/D11891

Commit Details:

Full Hash: ebf7673f83aea30dc126f0997c9c6f42f2cf5d9e
Parent Commit: 093074a
Lines Changed: +12, -16

1 Modified Path:

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