MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015755 | CMake | CMake | public | 2015-09-21 12:27 | 2016-02-01 09:10 |
Reporter | Dimitri Merejkowsky | ||||
Assigned To | |||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | OS | OS Version | |||
Product Version | CMake 3.3.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015755: add_dependencies() undoes include_directories() | ||||
Description | Calling add_dependencies() between two targets causes some calls to include_directories() to no longer be taken into account | ||||
Steps To Reproduce | See attached project. $ mkdir b1 $ cmake .. $ make ... [ 25%] Linking C executable eggs CMakeFiles/eggs.dir/eggs.c.o: In function `main': eggs.c:(.text+0xa): undefined reference to `spam $ mkdir b2 $ cmake -DADD_DEPENDENCIES=ON .. $ make [ 25%] Building C object spam/CMakeFiles/spam.dir/src/spam.c.o spam/src/spam.c:1:23: fatal error: spam/spam.h: No such file or directory | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | spam.zip (1,763) 2015-09-21 12:27 https://public.kitware.com/Bug/file/5532/spam.zip | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-09-21 12:27 | Dimitri Merejkowsky | New Issue | |||
2015-09-21 12:27 | Dimitri Merejkowsky | File Added: spam.zip | |||
2015-09-21 12:35 | Dimitri Merejkowsky | Note Added: 0039462 | |||
2015-09-22 13:24 | Brad King | Note Added: 0039471 | |||
2015-09-22 13:24 | Brad King | Status | new => resolved | ||
2015-09-22 13:24 | Brad King | Resolution | open => no change required | ||
2016-02-01 09:10 | Robert Maynard | Note Added: 0040416 | |||
2016-02-01 09:10 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|