Re: [CMake] Why is XXX_INCLUDE_DIRS plural and should it be deep?

2012-12-14 Thread esatel
I see the advantages. I think I will do what you suggest for languages. As far as cascading, I see it both ways and I think I'll be more productive if I abandon the idea that there is a best practice for this. It isn't THAT hard to make it right either way. If you know your dependencies (e.g. HD

[CMake] Why is XXX_INCLUDE_DIRS plural and should it be deep?

2012-12-12 Thread esatel
Hi all, I am trying to adapt an existing FindNetCDF.cmake file to work with NetCDF 4.2. I have read the Modules/Readme.txt but I am still a little unclear to the best approach in my case. In 4.2 the Fortran bindings and C bindings are not necessarily installed in the same place. One motive for Net