222464 / PGE

PGE: Parallel Game Engine
Other
98 stars 15 forks source link

C++11 support in CMake #11

Open jpreiss opened 7 years ago

jpreiss commented 7 years ago

PGE's CMakeLists.txt specifies the C++11 standard by setting CXX_STANDARD to 11. The CXX_STANDARD property was added in CMake 3.1 (source). However, PGE only specifies cmake_minimum_required(VERSION 2.8). On versions of CMake older than 3.1, CMake executes successfully, but when building with make, the missing definitions for C++11 features cause compile errors.

PGE should do one of the following: