Re: [CMake] How to force cmake to only look for C MPI not C++

2014-03-18 Thread Bibrak Qamar
And I did it. It wasn't populating *MPI_C_INCLUDE_PATH *instead it populated *MPI_INCLUDE_PATH.* So now I am using only *MPI_INCLUDE_PATH, MPI_COMPILE_FLAGS, MPI_LINK_FLAGS and MPI_LIBRARIES *not * MPI_C_* * Thanks Bibrak Qamar On Tue, Mar 18, 2014 at 11:38 AM, Bruce Cartland wrote:

Re: [CMake] How to force cmake to only look for C MPI not C++

2014-03-17 Thread Bibrak Qamar
ectly ?* ${MPI_C_INCLUDE_PATH}* Bibrak Qamar On Tue, Mar 18, 2014 at 11:22 AM, Bruce Cartland wrote: > Try the project command > > * project(yourProjectName C) > > It's what I use. > > Quick Google found this > > * http://www.cmake.org/cmake/help/cmake2.6do

[CMake] How to force cmake to only look for C MPI not C++

2014-03-17 Thread Bibrak Qamar
DESTINATION $ENV{MPJ_HOME}/lib) Thanks Bibrak Qamar -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit