mirror of https://github.com/google/gemma.cpp.git
Do not pass explicitly -O2 flag to compiler in Release build
This commit is contained in:
parent
fb6f266db1
commit
19694e1f2e
|
|
@ -43,7 +43,6 @@ set(SOURCES
|
||||||
util/args.h
|
util/args.h
|
||||||
)
|
)
|
||||||
|
|
||||||
add_compile_options($<$<CONFIG:Release>:-O2>)
|
|
||||||
if(NOT CMAKE_BUILD_TYPE)
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE "Release")
|
set(CMAKE_BUILD_TYPE "Release")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue