MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011881 | CMake | CMake | public | 2011-02-19 04:19 | 2016-06-10 14:31 |
| Reporter | Sameer Morar | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | Linux | OS | Ubuntu | OS Version | 11.04 |
| Product Version | CMake 2.8.3 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0011881: FindMPI script violates policy CMP0004 | ||||
| Description | The FindMPI script violates policy CMP0004. The following error occurs when compiling the package dolfin in ubuntu 11.04: CMake Error at CMakeLists.txt:9 (ADD_EXECUTABLE): Target "cmTryCompileExec" links to item " -Wl,--export-dynamic" which has leading or trailing whitespace. This is now an error according to policy CMP0004. Further investigation has shown that " -Wl,--export-dynamic" is being assigned to MPI_LINK_FLAGS with a leading space. This occurs in /usr/share/cmake-2.8/Modules/FindMPI.cmake The attached patch resolves this issue. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/3709/FindMPI_CMP0004.patch | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-02-19 04:19 | Sameer Morar | New Issue | |||
| 2011-02-19 04:19 | Sameer Morar | File Added: FindMPI_CMP0004.patch | |||
| 2012-08-11 11:09 | David Cole | Status | new => backlog | ||
| 2012-08-11 11:09 | David Cole | Note Added: 0030233 | |||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041804 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||