From f0d680ea55e01c1e310bd48c24868a87fa69d606 Mon Sep 17 00:00:00 2001 From: Max Luebke Date: Tue, 5 Apr 2022 20:47:09 +0200 Subject: [PATCH] Added `ffast-math` to Options --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc7e476..cb7a12b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)