MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011378 | CMake | CMake | public | 2010-10-29 11:09 | 2011-04-04 12:00 |
| Reporter | kentwilliams | ||||
| Assigned To | David Cole | ||||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | closed | Resolution | unable to reproduce | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||
| Summary | 0011378: ExternalProject.cmake aborts configuration & erroneously reports it can't find git. | ||||
| Description | When trying to use ExternalProject_add to build VTK, and specifying the VTK git repository, cmake (or ccmake or cmake-guil) fails with this error: CMake Error at ExternalProject.cmake:825 (message): error: could not find git for clone of VTK Call Stack (most recent call first): ExternalProject.cmake:1165 (_ep_add_download_command) External_VTK.cmake:110 (ExternalProject_Add) CMakeLists.txt:352 (include) - Show quoted text - | ||||
| Steps To Reproduce | |||||
| Additional Information | The problem occurs because after find_package(Git) on line 823 of ExternalProject.cmake it tests for success with if(NOT GIT_EXECUTABLE) but the CMake variable defined in FindGit.cmake seems to be Git_EXECUTABLE The attached patch fixes things on my machine (running OS X 10.6.4) | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/3473/ExternalProject.cmake.patch | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-10-29 11:09 | kentwilliams | New Issue | |||
| 2010-10-29 11:09 | kentwilliams | File Added: ExternalProject.cmake.patch | |||
| 2010-11-03 09:20 | Bill Hoffman | Status | new => assigned | ||
| 2010-11-03 09:20 | Bill Hoffman | Assigned To | => David Cole | ||
| 2010-12-17 07:41 | David Cole | Target Version | => CMake 2.8.4 | ||
| 2010-12-17 08:21 | David Cole | Note Added: 0024228 | |||
| 2010-12-17 08:21 | David Cole | Status | assigned => resolved | ||
| 2010-12-17 08:21 | David Cole | Fixed in Version | => CMake 2.8.4 | ||
| 2010-12-17 08:21 | David Cole | Resolution | open => unable to reproduce | ||
| 2011-04-04 12:00 | David Cole | Note Added: 0026068 | |||
| 2011-04-04 12:00 | David Cole | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||