mirror of https://github.com/google/gemma.cpp.git
Merge pull request #3 from traversaro/patch-1
Do not pass explicitly -O2 flag to compiler in Release build
This commit is contained in:
commit
830dda09b0
|
|
@ -43,7 +43,6 @@ set(SOURCES
|
|||
util/args.h
|
||||
)
|
||||
|
||||
add_compile_options($<$<CONFIG:Release>:-O2>)
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "Release")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue