Skip to content
Snippets Groups Projects
Commit d8d1f78e authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

OpenMP support for intel.

parent 2a497e01
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment