I am trying to compile a source code with the help of Cmake, I can successfully compile it but I have a lot of warnings like:
"Warning: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)"
The program compiles but does not work correctly, after digging into the issue for a while I read somewhere that I should redefine CPP in the make.inc with CPP = GCC -E
I would like to configure with CMake, how could I change that in CMake?