From ef2cc8305c7dfc9f92f5e3460079f3880306885a Mon Sep 17 00:00:00 2001
From: Anthony Royer <anthony.royer@uliege.be>
Date: Sun, 28 Jul 2019 16:15:39 +0200
Subject: [PATCH] Typo

---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f30dadeb..41d65985 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -71,8 +71,8 @@ if(HAVE_WALL)
   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
 endif()
 
-check_cxx_compiler_flag("-03" HAVE_WALL)
-if(HAVE_WALL)
+check_cxx_compiler_flag("-03" HAVE_O3)
+if(HAVE_O3)
   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")
 endif()
 
-- 
GitLab