Configure CMakeList properly to work with OpenMPI (c++)
Completed
Hello,
I have lot of difficulties to configure CLion to have correct color syntax and to be able to compile my project.
If I use the C syntax, there is no problem, but I want to use the c++ syntax, and I don't know where I have to indicates it to Clion.
Here is my CMakeLists.txt :
http://pastebin.com/spZ8Cysi
I'm not sure that this :
include_directories({MPI_INCLUDE_PATH})
is useful at all.
Thanks if someone can help me ! :)
Please sign in to leave a comment.
Ok, I can answer to my question myself. It is not a problem with Clion. The syntax adapted for c++ is perhaps not supported with my version.
Consequently, sorry for my question, there is no problem when I'm using the C syntax.