View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015886CMakeCMakepublic2015-12-17 12:142016-06-10 14:31
Reportergrahamb 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindowsOS7OS VersionSP1
Product VersionCMake 3.3 
Target VersionFixed in Version 
Summary0015886: FindHTMLHelp.cmake doesn't set HTMLHelp_FOUND variable
DescriptionThe 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 ReproduceWith 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 InformationShould the FOUND variable be dependent on the INCLUDE and LIBRARY? Not sure.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0039995)
Brad King (manager)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
2015-12-17 12:14 grahamb New Issue
2015-12-17 13:28 Brad King Note Added: 0039995
2016-06-10 14:29 Kitware Robot Note Added: 0042902
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team