MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0012588 | CMake | (No Category) | public | 2011-11-22 09:09 | 2015-03-16 14:27 |
|
Reporter | Stephen Kelly | |
Assigned To | Stephen Kelly | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | CMake 2.8.10 | Fixed in Version | CMake 2.8.10 | |
|
Summary | 0012588: install(EXPORTS) does not work well with dependencies |
Description | In KDE we're starting to use install(EXPORTS) and config files. We are building libraries with dependencies on one another which are in different export sets.
Different export sets are needed to create different Targets files, which can be included in different Config files. If the attached example were more complete, there would be a oneConfig.cmake which includes oneDeps.cmake, and a twoConfig.cmake which includes twoDeps.cmake.
At cmake time we get this error:
CMake Error: INSTALL(EXPORT "twoDeps" ...) includes target "libtwo" which requires target "libone" that is not in the export set.
How can we resolve this?
|
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | install_exports.tar.gz (8,156) 2011-11-22 09:09 https://public.kitware.com/Bug/file/4121/install_exports.tar.gz |
|
Issue History |
Date Modified | Username | Field | Change |
2011-11-22 09:09 | Stephen Kelly | New Issue | |
2011-11-22 09:09 | Stephen Kelly | File Added: install_exports.tar.gz | |
2011-11-22 09:26 | Brad King | Note Added: 0027848 | |
2011-11-22 09:26 | Brad King | Status | new => resolved |
2011-11-22 09:26 | Brad King | Resolution | open => suspended |
2011-11-22 09:26 | Brad King | Assigned To | => Brad King |
2012-02-19 10:04 | Brad King | Note Added: 0028636 | |
2012-02-19 10:04 | Brad King | Status | resolved => feedback |
2012-02-19 10:04 | Brad King | Resolution | suspended => reopened |
2012-02-19 10:04 | Brad King | Assigned To | Brad King => |
2012-02-19 10:04 | Brad King | Status | feedback => backlog |
2012-11-20 05:37 | Stephen Kelly | Note Added: 0031617 | |
2012-11-20 07:59 | Brad King | Note Added: 0031618 | |
2012-11-20 07:59 | Brad King | Assigned To | => Stephen Kelly |
2012-11-20 07:59 | Brad King | Status | backlog => resolved |
2012-11-20 07:59 | Brad King | Resolution | reopened => fixed |
2012-11-20 07:59 | Brad King | Fixed in Version | => CMake 2.8.10 |
2012-11-20 07:59 | Brad King | Target Version | => CMake 2.8.10 |
2013-04-17 08:54 | Robert Maynard | Note Added: 0032872 | |
2013-04-17 08:54 | Robert Maynard | Status | resolved => closed |