Commit 5156345a authored by Kirill Terekhov's avatar Kirill Terekhov

cmake: pass openmp flags to external projects 2

parent 561a709d
......@@ -35,8 +35,8 @@ set(USE_SOLVER_PETSC @USE_SOLVER_PETSC@)
set(USE_SOLVER_SUPERLU @USE_SOLVER_SUPERLU@)
if( USE_OMP )
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} @OpenMP_C_FLAGS@")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} @OpenMP_CXX_FLAGS@")
endif( USE_OMP )
if( USE_MPI )
......
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