Commit 0c45c77e authored by Ansgar Burchardt's avatar Ansgar Burchardt

Merge branch 'fix/#34-pthread-from-FindMPI' into 'master'

[cmake] Fix compatibility issue with CMake 3.10 leadig to -D-pthread

Closes #34

See merge request staging/dune-uggrid!88
parents 66e393e8 9f1feada
......@@ -3,7 +3,7 @@ if(MPI_C_FOUND)
# Maybe dune-common should export them?
add_definitions(-DENABLE_MPI=1 -DMPICH_SKIP_MPICXX -DMPIPP_H)
include_directories("${MPI_DUNE_INCLUDE_PATH}")
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS ${MPI_DUNE_COMPILE_FLAGS})
set_property(DIRECTORY APPEND PROPERTY COMPILE_OPTIONS "${MPI_DUNE_COMPILE_FLAGS}")
ug_add_dim_libs(parallel OBJECT initparallel.cc) # OBJECT_DIM_LIBS ddd dddif)
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