I have installed CMake version and OpenMPI version 1.6.2 on a 64 bit Windows 7 computer. 


OpenMPI is installed in “C:\program files\OpenMPI” and the path has been updated to include the bin subdirectory.


In the cmakelists.txt file, I have: find_package(MPI REQUIRED)


When I run cmake, I receive the following error:


C:\Users\steve\workspace\Dales\build>cmake ..\src -G "MinGW Makefiles"

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPack

ageHandleStandardArgs.cmake:97 (message):

  Could NOT find MPI_C (missing: MPI_C_LIBRARIES)

Call Stack (most recent call first):

  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStan

dardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)

  C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindMPI.cmake:587 (fi


  CMakeLists.txt:9 (find_package)



-- Configuring incomplete, errors occurred!


Any ideas as to what I am missing?