b1760a5f1f
OBS-URL: https://build.opensuse.org/request/show/423469 OBS-URL: https://build.opensuse.org/package/show/electronics/kicad?expand=0&rev=24
12 lines
542 B
Diff
12 lines
542 B
Diff
--- 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).
|