View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000125CMakepublic2003-08-06 01:582003-08-07 09:24
ReporterAndrew Maclean 
Assigned To 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000125: Quote (") replaced by " along with path chopping at a space in VC7.1 makefiles.
DescriptionIn 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
TagsNo tags attached.
Attached Files

 Relationships

  Notes
There are no notes attached to this issue.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team