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 ) ...@@ -261,6 +261,8 @@ macro( clhep_set_compiler_flags )
else() else()
_clhep_use_pthread() _clhep_use_pthread()
endif() endif()
elseif( ${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel" )
_clhep_use_pthread()
else() else()
set(CLHEP_THREAD_DEFINITION "#define CLHEP_THREAD_LOCAL") set(CLHEP_THREAD_DEFINITION "#define CLHEP_THREAD_LOCAL")
endif() 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