Browse Source

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.
pull/3/merge
Simon Richter 9 years ago
committed by Wayne Stambaugh
parent
commit
70b3edd06f
  1. 3
      3d-viewer/CMakeLists.txt

3
3d-viewer/CMakeLists.txt

@ -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…
Cancel
Save