[cmake-developers] [CMake 0014630]: FindBZip2 finds bzip2 without header file

Mantis Bug Tracker mantis at public.kitware.com
Wed Dec 4 06:30:00 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14630 
====================================================================== 
Reported By:                breese
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14630
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-12-04 06:29 EST
Last Modified:              2013-12-04 06:30 EST
====================================================================== 
Summary:                    FindBZip2 finds bzip2 without header file
Description: 
The bzip2 package contains the libraries, but not the header files. The header
files are located in the libbz2-dev package. If you only have installed the
bzip2 package, but not the libbz2-dev package, FindBZip2 will report bzip2 as
found and provide the include directory.

The problem is due to an incorrect use of FIND_PACKAGE_HANDLE_STANDARD_ARGS(),
which is missing the DEFAULT_MSG argument. The attached patch fixes the problem.

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-12-04 06:29 breese         New Issue                                    
2013-12-04 06:30 breese         File Added: FindBZip2.diff                    
======================================================================




More information about the cmake-developers mailing list