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 ")

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to