[CMake] throw -ffast-math into the mix

This commit is contained in:
nick black 2021-10-20 00:53:08 -04:00
parent 089bea99b6
commit 2f2c42d311
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -115,7 +115,8 @@ if(NOT WIN32)
add_compile_definitions(_FORTIFY_SOURCE=2)
add_compile_options(-Wformat -Werror=format-security)
endif()
add_compile_options(-Wall -Wextra -W -Wshadow -fexceptions -fstrict-aliasing)
add_compile_options(-Wall -Wextra -W -Wshadow)
add_compile_options(-ffast-math -fexceptions -fstrict-aliasing)
# don't use REQUIRED with subsequent find_package() operations; we use
# feature_summary + set_package_properties to fail in one fell swoop.