MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000128 | CMake | public | 2003-08-06 02:48 | 2003-08-07 09:26 | |
Reporter | Andrew Maclean | ||||
Assigned To | Bill Hoffman | ||||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000128: Quote (") replaced by " along with path splitting at the space in Visual C++ projects | ||||
Description | I modified FindMPI.cmake it add in the paths for the standard installation of MPICH for parallel processing. The CMake dialog displays the MPI paths as unquoted and they ar stored in this fashion in CMakeCache.txt When Visual Studio is run, the paths are split at the space between Program and Files across two lines as follows in the include path and the library lib file list: "C:/Program Files/..." Here is the file FindMPI.cmake: (Once the bug is fixed, can the Windws additions as shown here ne added to this file in the CVS?) ------------------- BEGINNING OF FILE -------- # # This module looks for MPI (Message Passing Interface) support # it will define the following values # # MPI_INCLUDE_PATH = where mpi.h can be found # MPI_LIBRARY = the library to link against (mpi mpich etc) # FIND_PATH(MPI_INCLUDE_PATH mpi.h /usr/local/include /usr/include /usr/include/mpi /usr/local/mpi/include "C:/Program Files/MPICH/SDK/Include" ) FIND_LIBRARY(MPI_LIBRARY NAMES mpi mpich PATHS /usr/lib /usr/local/lib /usr/local/mpi/lib "C:/Program Files/MPICH/SDK/Lib" ) FIND_LIBRARY(MPI_EXTRA_LIBRARY NAMES mpi++ PATHS /usr/lib /usr/local/lib /usr/local/mpi/lib "C:/Program Files/MPICH/SDK/Lib" DOC "If a second mpi library is necessary, specify it here.") MARK_AS_ADVANCED(MPI_INCLUDE_PATH MPI_LIBRARY MPI_EXTRA_LIBRARY) ------------------- END OF FILE -------- | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change |
Notes | |||||
|
|||||
|
|