From d96c260e8018bf11436be4a1f140499b86cd8e1c Mon Sep 17 00:00:00 2001
From: Lorenzo Moneta <Lorenzo.Moneta@cern.ch>
Date: Wed, 28 May 2014 16:24:57 +0200
Subject: [PATCH] add the compiler flag -DHAVE_ROOTLIBS for the math more tests

---
 math/mathmore/test/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/math/mathmore/test/CMakeLists.txt b/math/mathmore/test/CMakeLists.txt
index d6d2078ec02..da9d65131d3 100644
--- a/math/mathmore/test/CMakeLists.txt
+++ b/math/mathmore/test/CMakeLists.txt
@@ -39,6 +39,7 @@ endif()
 
 #some tests requires directly gsl
 include_directories(${GSL_INCLUDE_DIR} ${CMAKE_SOURCE_DIR})
+add_definitions(-DUSE_ROOT_ERROR -DHAVE_ROOTLIBS)
 
 #---Build and add all the defined test in the list---------------
 foreach(file ${TestMathMoreSource})
-- 
GitLab