MantisBT - CMake
View Issue Details
0015886CMakeCMakepublic2015-12-17 12:142016-06-10 14:31
grahamb 
Kitware Robot 
normalminoralways
closedmoved 
Windows7SP1
CMake 3.3 
 
0015886: FindHTMLHelp.cmake doesn't set HTMLHelp_FOUND variable
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
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
Should the FOUND variable be dependent on the INCLUDE and LIBRARY? Not sure.
No tags attached.
Issue History
2015-12-17 12:14grahambNew Issue
2015-12-17 13:28Brad KingNote Added: 0039995
2016-06-10 14:29Kitware RobotNote Added: 0042902
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0039995)
Brad King   
2015-12-17 13:28   
The module should be taught to use FindPackageHandleStandardArgs as most other Find modules do. Run this to see examples:

 $ git grep -i find_package_handle_standard_args -- Modules/Find*
(0042902)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.