Skip to content

Commit

Permalink
feat: compile optimize level to O3
Browse files Browse the repository at this point in the history
  • Loading branch information
ErosZy committed Jan 14, 2023
1 parent b41d8db commit 337ea05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set(COMPILE_FLAGS -Wall -MMD -Wno-array-bounds -Wno-format-truncation)
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
set(COMPILE_FLAGS ${COMPILE_FLAGS} -g)
elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
set(COMPILE_FLAGS ${COMPILE_FLAGS} -O2)
set(COMPILE_FLAGS ${COMPILE_FLAGS} -O3)
endif()

if (UNIX)
Expand Down

0 comments on commit 337ea05

Please sign in to comment.