Skip to content

Commit

Permalink
Add compile optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLorenz committed Sep 20, 2024
1 parent 06d1511 commit 98fa296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include(CheckLinkerFlag)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_compile_options(-ffast-math)
add_compile_options(-ffast-math -finline-limit=80 -finline-functions -finline-functions-called-once)
if(MSVC)
add_compile_definitions(_USE_MATH_DEFINES)
endif()
Expand Down

0 comments on commit 98fa296

Please sign in to comment.