comparison mupdf-source/thirdparty/curl/CMake/FindNGHTTP2.cmake @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 include(FindPackageHandleStandardArgs)
2
3 find_path(NGHTTP2_INCLUDE_DIR "nghttp2/nghttp2.h")
4
5 find_library(NGHTTP2_LIBRARY NAMES nghttp2)
6
7 find_package_handle_standard_args(NGHTTP2
8 FOUND_VAR
9 NGHTTP2_FOUND
10 REQUIRED_VARS
11 NGHTTP2_LIBRARY
12 NGHTTP2_INCLUDE_DIR
13 FAIL_MESSAGE
14 "Could NOT find NGHTTP2"
15 )
16
17 set(NGHTTP2_INCLUDE_DIRS ${NGHTTP2_INCLUDE_DIR})
18 set(NGHTTP2_LIBRARIES ${NGHTTP2_LIBRARY})