From 8c12e031c829c0f656638d11c312fbb3a14372da Mon Sep 17 00:00:00 2001
From: Alexis Nasr <alexis.nasr@lif.univ-mrs.fr>
Date: Mon, 14 Nov 2016 10:24:16 -0500
Subject: [PATCH] fixed bug in general CMakeLists.txt

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fe122ec..b4f6ff9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 2.8.7)
 project(macaon2)
 
-add_definitions("-Wall")
+find_package(FLEX)
 
 # for gcc < 5.3
 #add_definitions("-Wall -std=gnu11" )
-- 
GitLab