Fix for ROOT include paths
authoragrigora <alina.grigoras@cern.ch>
Wed, 5 Nov 2014 16:26:42 +0000 (17:26 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:51:53 +0000 (13:51 +0100)
cmake/FindROOT.cmake

index 2277782..0f8fe76 100644 (file)
@@ -115,6 +115,7 @@ if(ROOTSYS)
         message(FATAL_ERROR "Error retrieving ROOT incdir: ${error}")
     endif(error)
     string(STRIP ${ROOT_INCDIR} ROOT_INCDIR)
+    set(ROOT_INCLUDE_DIRS ${ROOT_INCDIR})
 
     # Checking for glibs
     execute_process(COMMAND ${ROOT_CONFIG} --noldflags --glibs OUTPUT_VARIABLE ROOT_GLIBS ERROR_VARIABLE error OUTPUT_STRIP_TRAILING_WHITESPACE )