Skip to content

Commit

Permalink
fp precise on clang
Browse files Browse the repository at this point in the history
  • Loading branch information
erincatto committed Aug 26, 2024
1 parent e9633c9 commit 4ebc59e
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 @@ -152,7 +152,7 @@ elseif (MINGW)
endif()
elseif (APPLE)
message(STATUS "Box2D on Apple")
target_compile_options(box2d PRIVATE -ffp-contract=off)
target_compile_options(box2d PRIVATE -ffp-contract=off -ffp-model=precise)
elseif (EMSCRIPTEN)
message(STATUS "Box2D on Emscripten")
elseif (UNIX)
Expand Down

0 comments on commit 4ebc59e

Please sign in to comment.