comparison mupdf-source/thirdparty/curl/CMake/FindNGHTTP2.cmake @ 3:2c135c81b16c

MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:44:09 +0200
parents b50eed0cc0ef
children
comparison
equal deleted inserted replaced
0:6015a75abc2d 3:2c135c81b16c
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})