MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0011338 | CMake | CMake | public | 2010-10-19 18:13 | 2014-06-02 08:37 |
Reporter | K. R. Walker | ||||
Assigned To | Stephen Kelly | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-8 | ||||
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | ||
Summary | 0011338: CMake adds CURRENT_SOURCE_DIR to include_directories if there is a VTK project. | ||||
Description | CMake adds CMAKE_CURRENT_SOURCE_DIR to the list of include directories if a project named VTK is added to a CMake solution. cmLocalGenerator.cxx checks for the presence of VTK_SOURCE_DIR (which will be found in the cache if VTK or a project named VTK is part of the solution anywhere). If it's there, then it also looks for VTK_MAJOR_VERSION and VTK_MINOR_VERSION. If those aren't found (as they would not be in a parent scope of VTK, or a project that isn't actually building VTK), then the backwards compatibility "hack" is triggered and includeSourceDir is set to true. Our current workaround is to change the VTK CMake to FORCE VTK_MAJOR_VERSION and VTK_MINOR_VERSION into the cache to prevent the hack from being encountered. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-10-19 18:13 | K. R. Walker | New Issue | |||
2010-10-20 11:28 | Bill Hoffman | Status | new => assigned | ||
2010-10-20 11:28 | Bill Hoffman | Assigned To | => Brad King | ||
2011-01-19 11:27 | Brad King | Relationship added | has duplicate 0011722 | ||
2011-01-19 11:28 | Brad King | Relationship deleted | has duplicate 0011722 | ||
2012-08-13 10:37 | Brad King | Status | assigned => backlog | ||
2012-08-13 10:37 | Brad King | Note Added: 0030525 | |||
2013-11-02 11:20 | Stephen Kelly | Note Added: 0034331 | |||
2013-11-02 11:20 | Stephen Kelly | Target Version | => CMake 3.0 | ||
2013-12-21 05:07 | Stephen Kelly | Note Added: 0034846 | |||
2013-12-21 05:07 | Stephen Kelly | Status | backlog => resolved | ||
2013-12-21 05:07 | Stephen Kelly | Fixed in Version | => CMake 3.0 | ||
2013-12-21 05:07 | Stephen Kelly | Resolution | open => fixed | ||
2013-12-21 05:07 | Stephen Kelly | Assigned To | Brad King => Stephen Kelly | ||
2014-06-02 08:37 | Robert Maynard | Note Added: 0036062 | |||
2014-06-02 08:37 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|