mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
[CMake] throw -ffast-math into the mix
This commit is contained in:
parent
089bea99b6
commit
2f2c42d311
@ -115,7 +115,8 @@ if(NOT WIN32)
|
|||||||
add_compile_definitions(_FORTIFY_SOURCE=2)
|
add_compile_definitions(_FORTIFY_SOURCE=2)
|
||||||
add_compile_options(-Wformat -Werror=format-security)
|
add_compile_options(-Wformat -Werror=format-security)
|
||||||
endif()
|
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
|
# don't use REQUIRED with subsequent find_package() operations; we use
|
||||||
# feature_summary + set_package_properties to fail in one fell swoop.
|
# feature_summary + set_package_properties to fail in one fell swoop.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user