[CMake] FindMPI doesn't differentiate between languages

2010-12-18 Thread Todd Gamblin
Hey all, This has been brought up before (sort of) here: http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/26533 FindMPI doesn't currently give you the libraries, includes, etc. for different languages. MPI compilers can (and typically do) have different includes/librarie

Re: [CMake] How to detect whether CMake scripts are executing under / within CPack environment?

2010-12-18 Thread Eric Noulard
2010/12/16 Andreas Mohr : > Hi, > > [subject formulated for best keyword search impact] > > forgive me for the possibly dumb question, > but since cpack of course includes executing the "make install" step > I'd like to know how to possibly detect this within CMake code. > My build is capable of la