Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
guanzhi committed May 13, 2024
1 parent 11093af commit 623fe13
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ SET(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_SOURCE_DIR}/cmake")

include_directories(include)

add_compile_options(-O3)
if(MSVC)
add_compile_options(/O2)
else()
add_compile_options(-O3)
endif()

option(ENABLE_TEST_SPEED "Enable test speed" OFF)

Expand Down

0 comments on commit 623fe13

Please sign in to comment.