View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015008 | CMake | CMake | public | 2014-07-05 23:09 | 2015-01-05 08:39 | ||||
Reporter | Jean-Christophe Fillion-Robin | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | tweak | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 3.0 | ||||||||
Target Version | CMake 3.0.1 | Fixed in Version | CMake 3.0.1 | ||||||
Summary | 0015008: Fix CMakeExpandImportedTargets to avoid Error on non-existent target in get_target_property. | ||||||||
Description | CMake Warning (dev) at cmake/CMakeExpandImportedTargets.cmake:66 (get_target_property): Policy CMP0045 is not set: Error on non-existent target in get_target_property. Run "cmake --help-policy CMP0045" for policy details. Use the cmake_policy command to set the policy and suppress this warning. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0036323) Brad King (manager) 2014-07-07 10:24 |
Where is "cmake/CMakeExpandImportedTargets.cmake"? The upstream CMake module is in "Modules/" and has no get_target_property call on line 66. |
(0036324) Jean-Christophe Fillion-Robin (reporter) 2014-07-07 10:51 |
This is in CMake'ified CPython, since the minimum required CMake is 2.8.6 and that module has been integrated only after 2.8.7, we have our own copy. See https://github.com/davidsansome/python-cmake-buildsystem/blob/master/cmake/CMakeExpandImportedTargets.cmake [^] |
(0036325) Brad King (manager) 2014-07-07 11:00 |
Okay, we can fix the equivalent line in the upstream copy of the module. FYI, since 2.8.11 the module is not necessary: Handle targets in the LINK_LIBRARIES of try_compile. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=236133e7 [^] |
(0036326) Brad King (manager) 2014-07-07 11:04 |
This should fix it: CMakeExpandImportedTargets: Do not read property on non-target http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=49f32168 [^] |
(0037585) Robert Maynard (manager) 2015-01-05 08:39 |
Closing resolved issues that have not been updated in more than 4 months |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-07-05 23:09 | Jean-Christophe Fillion-Robin | New Issue | |
2014-07-07 10:24 | Brad King | Note Added: 0036323 | |
2014-07-07 10:51 | Jean-Christophe Fillion-Robin | Note Added: 0036324 | |
2014-07-07 11:00 | Brad King | Note Added: 0036325 | |
2014-07-07 11:04 | Brad King | Note Added: 0036326 | |
2014-07-07 11:04 | Brad King | Assigned To | => Brad King |
2014-07-07 11:04 | Brad King | Status | new => assigned |
2014-07-07 11:04 | Brad King | Target Version | => CMake 3.0.1 |
2014-07-07 11:04 | Brad King | Description Updated | |
2014-07-14 15:22 | Brad King | Status | assigned => resolved |
2014-07-14 15:22 | Brad King | Resolution | open => fixed |
2014-07-14 15:22 | Brad King | Fixed in Version | => CMake 3.0.1 |
2014-07-14 15:22 | Brad King | Description Updated | |
2015-01-05 08:39 | Robert Maynard | Note Added: 0037585 | |
2015-01-05 08:39 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |