Commit 3bff00b2 authored by Michael Kuron's avatar Michael Kuron
Browse files

Only use -qopenmp on Intel 17 and higher as it is broken in 15 and 16.

parent 3842fa92
......@@ -961,7 +961,7 @@ option ( WALBERLA_THREAD_SAFE_LOGGING "Enables/Disables thread-safe logging" ON
if ( WALBERLA_BUILD_WITH_OPENMP )
if ( WALBERLA_CXX_COMPILER_IS_INTEL )
if( CMAKE_CXX_COMPILER_VERSION VERSION_LESS "15.0" )
if( CMAKE_CXX_COMPILER_VERSION VERSION_LESS "17.0" )
add_flag ( CMAKE_C_FLAGS "-openmp" )
add_flag ( CMAKE_CXX_FLAGS "-openmp" )
else()
......
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