b80e7857c9
Update to 4.0.4 OBS-URL: https://build.opensuse.org/request/show/427051 OBS-URL: https://build.opensuse.org/package/show/electronics/kicad?expand=0&rev=27
14 lines
580 B
Diff
14 lines
580 B
Diff
Index: CMakeLists.txt
|
|
===================================================================
|
|
--- CMakeLists.txt.orig
|
|
+++ CMakeLists.txt
|
|
@@ -142,6 +142,8 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CX
|
|
# subsequently on the command line, such as in pcbnew/github/CMakeLists.txt
|
|
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
|