[CMake] Compaq Visual Fortran
Arjen Markus
arjen.markus at deltares.nl
Wed Feb 17 03:22:16 EST 2010
Hi Brad,
adding set(CMAKE_INCLUDE_FLAG_C "-I ") (and, just to be sure, its C++
cousin) did the trick all right. I can now build PLplot's Fortran
bindings and examples using the Compaq Visual Fortran compiler.
The only thing that worries me is that this may have an impact on
the C compiler too, as there is no CMAKE_INCLUDE_FLAG_FORTRAN, it
appears.
I have not tried the undocumented route you mentioned, as that
may have an even larger impact.
Regards,
Arjen
On 2010-02-16 16:12, Brad King wrote:
>
> The documented way to change the include path flag to "-I " instead
> of just "-I" is:
>
> set(CMAKE_INCLUDE_FLAG_C "-I ")
> set(CMAKE_INCLUDE_FLAG_CXX "-I ")
>
More information about the CMake
mailing list