cmake fails with current libgtest-dev 1.6.0-1ubuntu4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As libgtest 1.6.0-1ubuntu4 no longer has static libraries included, cmake with
find_package(GTest REQUIRED)
fails with the present cmake(-data) 2.8.7-0ubuntu 4.
To work around this problem I commented out line 150 in /usr/share/
set(GTEST_DIR /usr/src/gtest)
add_subdirector
link_directorie
I am not a cmake expert, so even though this works, it probably it is not a good solution.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cmake-data 2.8.7-0ubuntu4 [modified: usr/share/
ProcVersionSign
Uname: Linux 3.2.0-20-generic x86_64
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
Date: Sat Mar 31 11:13:51 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cmake
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in cmake (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.