[cmake-developers] [CMake 0015886]: FindHTMLHelp.cmake doesn't set HTMLHelp_FOUND variable

Mantis Bug Tracker mantis at public.kitware.com
Thu Dec 17 12:14:01 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=15886 
====================================================================== 
Reported By:                grahamb
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15886
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-12-17 12:14 EST
Last Modified:              2015-12-17 12:14 EST
====================================================================== 
Summary:                    FindHTMLHelp.cmake doesn't set HTMLHelp_FOUND
variable
Description: 
The module doesn't set the corresponding package HTMLHelp_FOUND variable.  This
leads to erroneous reports that the package has not been found when using
FEATURE_SUMMARY

Steps to Reproduce: 
With this file:

    cmake_minimum_required(VERSION 3.0)
    set(CMAKE_FIND_LIBRARY_PREFIXES "")
    set(CMAKE_FIND_LIBRARY_SUFFIXES "")

    include(FeatureSummary)
    find_package(HTMLHelp)
    message(STATUS "HTML Help Compiler: ${HTML_HELP_COMPILER}")
    feature_summary(WHAT ALL)

The output of CMake -P is:

    -- HTML Help Compiler: C:/Program Files (x86)/HTML Help Workshop/hhc.exe
    --
    -- The following OPTIONAL packages have not been found:

     * HTMLHelp

Additional Information: 
Should the FOUND variable be dependent on the INCLUDE and LIBRARY?  Not sure.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-12-17 12:14 grahamb        New Issue                                    
======================================================================



More information about the cmake-developers mailing list