message: Manually add "-liomp5" when using OpenMP with icc, fixes
diff: @@ -357,15 +357,7 @@ MACRO(OSPRAY_CONFIGURE_TASKING_SYSTEM)
  SET(CILK_STRING "Cilk")
  ENDIF()
  - # NOTE(jda) - Always default to TBB, at least until Cilk is *exactly* the same
  - # as TBB...
  - #IF(${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel")
  - # SET(TASKING_DEFAULT ${CILK_STRING})
  - #ELSE()
  - SET(TASKING_DEFAULT TBB)
  - #ENDIF()
  -
  - SET(OSPRAY_TASKING_SYSTEM ${TASKING_DEFAULT} CACHE STRING
  + SET(OSPRAY_TASKING_SYSTEM TBB CACHE STRING
  "Per-node thread tasking system [TBB,OpenMP,Cilk,LibDispatch,Internal,Debug]")
  SET_PROPERTY(CACHE OSPRAY_TASKING_SYSTEM PROPERTY
  @@ -414,8 +406,9 @@ MACRO(OSPRAY_CONFIGURE_TASKING_SYSTEM)
  IF (OPENMP_FOUND)
  SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
  - SET(CMAKE_EXE_LINKER_FLAGS
  - "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}")
  + IF(OSPRAY_COMPILER_ICC) # workaround linker issue #115
  + SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -liomp5")
  + ENDIF()
  ADD_DEFINITIONS(-DOSPRAY_TASKING_OMP)
  ENDIF()
  ELSEIF(OSPRAY_TASKING_CILK)
  