Commit d8d1f78e authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

OpenMP support for intel.

parent 2a497e01
......@@ -454,7 +454,11 @@ endif(ENABLE_EXTENSIONS)
if(ENABLE_OPENMP)
list(APPEND COMPILEFLAGS "-fopenmp")
if(CMAKE_CXX_COMPILER MATCHES ".*icpc")
list(APPEND COMPILEFLAGS "-openmp")
else()
list(APPEND COMPILEFLAGS "-fopenmp")
endif()
endif(ENABLE_OPENMP)
SET(COMPOSITE_SOURCE_DIR ${SOURCE_DIR}/compositeFEM)
......
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