MantisBT - CMake
View Issue Details
0013484CMakeCMakepublic2012-08-21 00:522013-01-09 14:05
Mahendra Ladhe 
 
normalminoralways
closedfixed 
Linux x86Linux Debian 6.0.52.6.24-23-server
CMake-2-8 
CMake 2.8.8CMake 2.8.8 
0013484: Change the message cmake prints when processing CHECK_INCLUDE_FILES
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)
Create a CMakeLists.txt file with this content:

  cmake_minimum_required(VERSION 2.8)
  include(CheckIncludeFiles)
  check_include_files(pcap.h HAVE_PCAP_H)

and then run cmake
No tags attached.
Issue History
2012-08-21 00:52Mahendra LadheNew Issue
2012-08-21 02:30Rolf Eike BeerStatusnew => resolved
2012-08-21 02:30Rolf Eike BeerResolutionopen => fixed
2012-08-21 02:30Rolf Eike BeerFixed in Version => CMake 2.8.8
2012-08-21 06:50David ColeTarget Version => CMake 2.8.8
2012-08-21 06:50David ColeSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=774#r774
2013-01-09 14:05Robert MaynardNote Added: 0032078
2013-01-09 14:05Robert MaynardStatusresolved => closed

Notes
(0032078)
Robert Maynard   
2013-01-09 14:05   
Closing resolved issues that have not been updated in more than 4 months.