MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0014495 | CMake | CMake | public | 2013-10-20 12:55 | 2014-07-31 14:06 | |||||
| Reporter | Nick Hutchinson | |||||||||
| Assigned To | Stephen Kelly | |||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||||
| Status | closed | Resolution | no change required | |||||||
| Platform | Mac | OS | OS X | OS Version | 10.8 | |||||
| Product Version | ||||||||||
| Target Version | Fixed in Version | |||||||||
| Summary | 0014495: Spurious error about non-existent INTERFACE_INCLUDE_DIRECTORIES of IMPORTED target | |||||||||
| Description | CMake seems to demand that the directories referenced by the INTERFACE_INCLUDE_DIRECTORIES property of an IMPORTED target can be found at configure-time. This is quite unhelpful if those directories are only generated generated as part of the build. You get the following error: > Imported target "XXX" includes non-existent path > > "YYY" > > in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: > > * The path was deleted, renamed, or moved to another location. > > * An install or uninstall procedure did not complete successfully. > > * The installation package was faulty and references files it does not > provide. Workaround is add a `file(MAKE_DIRECTORY YYY)` command to the CMakeLists.txt file. | |||||||||
| Steps To Reproduce | > cat <<-EOF > CMakeLists.txt cmake_minimum_required(VERSION 2.8.12) add_library(foo STATIC IMPORTED GLOBAL) set_property(TARGET foo PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_BINARY_DIR}/include") EOF > cmake -GNinja . | |||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2013-10-20 12:55 | Nick Hutchinson | New Issue | ||||||||
| 2013-10-21 08:28 | Brad King | Assigned To | => Stephen Kelly | |||||||
| 2013-10-21 08:28 | Brad King | Status | new => assigned | |||||||
| 2013-10-21 09:42 | Stephen Kelly | Note Added: 0034187 | ||||||||
| 2013-10-21 10:33 | Nick Hutchinson | Note Added: 0034194 | ||||||||
| 2013-10-21 10:37 | Stephen Kelly | Note Added: 0034196 | ||||||||
| 2013-10-22 11:44 | Stephen Kelly | Note Added: 0034217 | ||||||||
| 2013-10-22 11:44 | Stephen Kelly | Status | assigned => resolved | |||||||
| 2013-10-22 11:44 | Stephen Kelly | Resolution | open => no change required | |||||||
| 2014-03-05 09:58 | Robert Maynard | Note Added: 0035294 | ||||||||
| 2014-03-05 09:58 | Robert Maynard | Status | resolved => closed | |||||||
| 2014-07-31 14:06 | Brad King | Relationship added | related to 0015052 | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||