The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13266 
====================================================================== 
Reported By:                Dave Abrahams
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13266
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-06-02 19:01 EDT
Last Modified:              2012-06-02 19:01 EDT
====================================================================== 
Summary:                    --find-package seems to be unworkable
Description: 
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.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-06-02 19:01 Dave Abrahams  New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to