Joachim Geiger wrote:
Hello,
I have the following problem with a fortran compiler flag I want to be accepted. Compiler is the IBM compiler version 8. The compiler flag I want to be accepted is -qrealsize=8 .
Using CMAKE_VERBOSE_MAKEFILE=ON I see that the compiler flag appears as
-fdefault-real-8
I tried -DCMAKE_Fortran_COMPILE_FLAGS=-qrealsize=8
and also with quotes: ' and ", but the effect is always that it is translated into the above mentioned one.
An additional note: the AIX-compiler is named f95 and is the same as xlf.
Best regards,
Joachim
What if you edit the CMakeCache.txt and fix it there? It may be a command line parsing issue.

-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to