[cmake] Fix compatibility issue with CMake 3.10 leadig to -D-pthread
CMake 3.10 overhauled FindMPI.cmake. Now -pthread ends in various MPI-related variables and from there in MPI_DUNE_COMPILE_FLAGS. With COMPILE_DEFINITIONS -pthread got the prefix -D. Changed to COMPILE_OPTIONS which does not add -D to the passed flags.
Fixes #34 (closed)
Edited by Christoph Grüninger