Wrong handling of pthread in FindBoost macro
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When calling the macro find_package(Boost thread), I get different results for ${Boost_LIBRARIES} the first and the second time I execute cmake. First time, ${Boost_LIBRARIES} contains '/usr/lib/
I attached a very simple cmake script to reproduce the error.
I reported this issue upstream[1] in cmake, where I was told, that the pthread handling is not done by cmake, but patched by Ubuntu.
This issue is still existing in quantal, but no longer in saucy.
[1] http://
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cmake 2.8.7-0ubuntu5
ProcVersionSign
Uname: Linux 3.5.0-45-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Mon Jan 27 18:09:56 2014
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
MarkForUpload: True
ProcEnviron:
LANGUAGE=
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cmake
UpgradeStatus: No upgrade log present (probably fresh install)
it should be fixed since a lot of time.