View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014776CMakeCCMakepublic2014-02-27 05:502016-06-10 14:31
ReporterDmitri 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformCygwinOSWindowsOS Version8.1
Product VersionCMake 2.8.12 
Target VersionFixed in Version 
Summary0014776: find_package for boost broken under cygwin
DescriptionWhen 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 ReproduceUse the find_package to locate Boost on a Cygwin installation. CMake won't be able to find it despite deducing the path correctly.
TagsNo tags attached.
Attached Files

 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.

 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


Copyright © 2000 - 2018 MantisBT Team