Sett RelWithDebInfo opt flags
Ensure we use O3 for AppImage builds
This commit is contained in:
parent
18aabbdbb5
commit
2fe55d1e6b
1 changed files with 3 additions and 0 deletions
|
@ -369,6 +369,9 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||
if (X86 OR X86_64)
|
||||
set(SIMD_COMPILER_FLAGS "-msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g -DNDEBUG")
|
||||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -g -DNDEBUG")
|
||||
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" )
|
||||
|
|
Loading…
Add table
Reference in a new issue