[cmake-developers] [CMake 0013484]: Change the message cmake prints when processing CHECK_INCLUDE_FILES

Mantis Bug Tracker mantis at public.kitware.com
Tue Aug 21 00:52:05 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13484 
====================================================================== 
Reported By:                Mahendra Ladhe
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13484
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-08-21 00:52 EDT
Last Modified:              2012-08-21 00:52 EDT
====================================================================== 
Summary:                    Change the message cmake prints when processing
CHECK_INCLUDE_FILES
Description: 
If CMakeLists.txt file has the following line
CHECK_INCLUDE_FILES (pcap.h HAVE_PCAP_H)

then when running cmake, the following 2 lines are printed as part of 
processing above line
-- Looking for include files HAVE_PCAP_H
-- Looking for include files HAVE_PCAP_H - found

Actually it should print 
-- Looking for include files pcap.h
-- Looking for include files pcap.h - found

i.e. it should print the names of the include files (header files)
that are passed to CHECK_INCLUDE_FILES instead of the variable name 
(e.g. HAVE_PCAP_H)

Steps to Reproduce: 
Create a CMakeLists.txt file with just one line as below.
CHECK_INCLUDE_FILES (pcap.h HAVE_PCAP_H)
and then run cmake

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-08-21 00:52 Mahendra Ladhe New Issue                                    
======================================================================




More information about the cmake-developers mailing list