View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014776 | CMake | CCMake | public | 2014-02-27 05:50 | 2016-06-10 14:31 | ||||
Reporter | Dmitri | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Cygwin | OS | Windows | OS Version | 8.1 | ||||
Product Version | CMake 2.8.12 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014776: find_package for boost broken under cygwin | ||||||||
Description | When using find_package under cygwin, CMake tries looking for the correct path by _appending_ the path to the current path. So it finds c:/boost correctly, but tries to get the header from /cygdrive/c/path/to/my/project/c:/boost/boost/someheader.hpp | ||||||||
Steps To Reproduce | Use the find_package to locate Boost on a Cygwin installation. CMake won't be able to find it despite deducing the path correctly. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035214) Brad King (manager) 2014-02-27 09:22 |
Cygwin prefers never to see Windows-style paths. From where does the "c:/boost" path come during the search? |
(0037494) Dmitri (reporter) 2014-12-19 06:33 |
I'd like to know this too! I do in fact have Boost installed in c:\boost, so that part of feature detection is working correctly. However, lumping it together with Cygdrive is NOT correct - it should be /cygdrive/c/boost instead! |
(0037498) Brad King (manager) 2014-12-19 08:37 |
I don't know why I missed this before but there is a hard-coded C:/boost in FindBoost.cmake. Try removing those lines locally to see if it resolves the problem. If so then they can be made conditional on the platform. |
(0042494) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-02-27 05:50 | Dmitri | New Issue | |
2014-02-27 09:22 | Brad King | Note Added: 0035214 | |
2014-12-19 06:33 | Dmitri | Note Added: 0037494 | |
2014-12-19 08:37 | Brad King | Note Added: 0037498 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042494 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |