Commit a55b6ee1 authored by Lynn Garren's avatar Lynn Garren
Browse files

check the Intel compiler for thread_local

parent 3a4d2996
......@@ -261,6 +261,8 @@ macro( clhep_set_compiler_flags )
else()
_clhep_use_pthread()
endif()
elseif( ${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel" )
_clhep_use_pthread()
else()
set(CLHEP_THREAD_DEFINITION "#define CLHEP_THREAD_LOCAL")
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment