Blender Git Loki

Git Commits -> Revision e3d8f42

July 30, 2021, 14:51 (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: e3d8f427d55bc4fdd6eec12e1da809aff536bf98
Parent Commit: d948bd6
Committed By: Fabian Schempp
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