• Peter Wu's avatar
    cmake: fix version checks for external packages · 2b3bc710
    Peter Wu authored
    The name passed to find_package should match the one that is passed to
    find_package_handle_standard_args, otherwise the version matching is not
    properly done. The names are based on the FindXXX.cmake filename.
    
    This also simplifies components reporting for Libevent (done by
    find_package_handle_standard_args) and results in reporting a library
    instead of include directory when found.
    2b3bc710
FindJansson.cmake 1.3 KB