--- kicad-4.0.2/CMakeLists.txt_orig 2016-08-27 21:24:50.616212416 +0200 +++ kicad-4.0.2/CMakeLists.txt 2016-08-27 21:24:30.103970797 +0200 @@ -143,6 +143,8 @@ set( CMAKE_C_FLAGS "-Wall ${CMAKE_C_FLAGS}" ) set( CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS}" ) + set( CMAKE_CXX_STANDARD 14 ) + # The optimization level is -O1 instead of the usual -O2 level because # boost::polygon has a function (inflate polygon) broken by the -O2 level # with GCC 4.7.0 to 4.7.2 (works fine with with GCC 4.6 and 4.7.3).