AfterImage build fails

Hi.

I reported this matter to GEANT4 mailing list and Ben found the solution for this.
When there’s “icc” in the path cmake script recognizes it as intel compiler so that putting lots of not supported options.
hypernews.slac.stanford.edu/Hype … 0/1/1.html

Just following to his idea, the patch below should be working for this too.

Thanks,
Genie

--- graf2d/asimage/BuildAfterImage.cmake  2015-11-24 02:28:16.000000000 +0900
+++ graf2d/asimage/BuildAfterImage.cmake  2015-11-24 02:28:28.000000000 +0900
@@ -31,7 +31,7 @@

   set(AFTER_CC ${CMAKE_C_COMPILER})
   set(AFTER_CFLAGS "-O")
-  if(CMAKE_C_COMPILER MATCHES icc)
+  if(CMAKE_C_COMPILER_ID MATCHES "Intel")
     set(AFTER_CFLAGS "${AFTER_CFLAGS} -wd188 -wd869 -wd2259 -wd1418 -wd1419 -wd593 -wd981 -wd1599 -wd181 -wd177 -wd1572")
   endif()
   if(ROOT_ARCHITECTURE MATCHES linuxx8664icc)

Thanks very much for the suggestion. Applied to master and 6.06.