MantisBT - CMake
View Issue Details
0013266CMakeCMakepublic2012-06-02 19:012016-06-10 14:31
Dave Abrahams 
Alex Neundorf 
normalmajoralways
closedmoved 
 
 
0013266: --find-package seems to be unworkable
cmake --find-package -DNAME=BZip2 -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=LINK

CMake Error at /opt/local/share/cmake-2.8/Modules/CheckLibraryExists.cmake:44 (TRY_COMPILE):
  The TRY_COMPILE() command is not supported in --find-package mode.
Call Stack (most recent call first):
  /opt/local/share/cmake-2.8/Modules/FindBZip2.cmake:49 (CHECK_LIBRARY_EXISTS)
  /opt/local/share/cmake-2.8/Modules/CMakeFindPackageMode.cmake:167 (find_package)


BZip2 not found.
CMake Error: Problem processing arguments. Aborting.
No tags attached.
related to 0013265closed Alex Neundorf Docs for --find-package should cross-reference CMakeFindPackageMode 
related to 0013311closed Alex Neundorf LINK arguments incomplete when using cmake --find_package 
child of 0014676closed Alex Neundorf cmake --find-package summary ticket 
Issue History
2012-06-02 19:01Dave AbrahamsNew Issue
2012-06-04 01:22Alex NeundorfAssigned To => Alex Neundorf
2012-06-04 01:22Alex NeundorfStatusnew => assigned
2012-06-18 16:37Alex NeundorfRelationship addedrelated to 0013265
2012-06-18 16:37Alex NeundorfRelationship addedrelated to 0013311
2012-08-13 14:27Alex NeundorfStatusassigned => backlog
2014-01-01 12:22Alex NeundorfRelationship addedchild of 0014676
2016-06-10 14:28Kitware RobotNote Added: 0042058
2016-06-10 14:28Kitware RobotStatusbacklog => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042058)
Kitware Robot   
2016-06-10 14:28   
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.