View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000125 | CMake | public | 2003-08-06 01:58 | 2003-08-07 09:24 | |||||
Reporter | Andrew Maclean | ||||||||
Assigned To | |||||||||
Priority | high | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | duplicate | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000125: Quote (") replaced by " along with path chopping at a space in VC7.1 makefiles. | ||||||||
Description | In a module file (in particular FindMPI.cmake), if the file name is quoted, it is then unquoted when displayed in the CMakeDialog and """ inserted into the VC7.1 project files - look at the properties for vtkParallel. Look at the include path and lib and you will see thatthey are split at the space between "Program" and "Files" and the presence of """. Note that in the file CMakeLists.txt the paths are unquoted. This arose because I am trying to use MPI. So I modified FindMPI.cmake as follows: (When this is fixed, can you also keep the mofifications in FIndMPI.cmake?) ------------------- 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 -------------- Thanks Andrew | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
There are no notes attached to this issue. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |