Added ffast-math to Options

This commit is contained in:
Max Luebke 2022-04-05 20:47:09 +02:00
parent 8ed121cfe6
commit f0d680ea55

View File

@ -10,7 +10,7 @@ find_package(OpenMP)
option(USE_OPENMP "Compile with OpenMP support" ON)
set(CMAKE_CXX_FLAGS_GENERICOPT "-O3 -march=native" CACHE STRING
set(CMAKE_CXX_FLAGS_GENERICOPT "-O3 -march=native -ffast-math" CACHE STRING
"Flags used by the C++ compiler during opt builds."
FORCE)