Drop unnecessary and possibly harmful optimization setting
Using -O3 is default for release builds with gcc/clang anyway, so this doesn't gain anything, but overwriting the existing flags might remove some that might be needed.
This commit is contained in:
parent
04d1b2fca7
commit
70b3edd06f
|
@ -1,9 +1,6 @@
|
|||
#add_definitions(-DPRINT_STATISTICS_3D_VIEWER)
|
||||
add_definitions(-DPCBNEW)
|
||||
|
||||
set( CMAKE_C_FLAGS_RELEASE "-O3" )
|
||||
set( CMAKE_CXX_FLAGS_RELEASE "-O3" )
|
||||
|
||||
include_directories(BEFORE ${INC_BEFORE})
|
||||
include_directories(
|
||||
../pcbnew
|
||||
|
|
Loading…
Reference in New Issue