You've already forked xpc-discovery
mirror of
https://github.com/t2linux/xpc-discovery.git
synced 2026-04-30 13:54:09 -07:00
a07699784c
This is all code from MrARM, written in 2019. https://discord.com/channels/595304521857630254/595304521857630259/1012008518389338242 https://cdn.discordapp.com/attachments/595304521857630259/1012008517751816253/xpc.zip?ex=696c4820&is=696af6a0&hm=a86606a422fe6b56c223e457182eb13a7e3c07374cc932fcf537d9f8f455842c&
21 lines
551 B
CMake
21 lines
551 B
CMake
# https://github.com/curl/curl/blob/d1207c07d0cc3c7870e50865052bb59850917ec9/CMake/FindNGHTTP2.cmake
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_path(NGHTTP2_INCLUDE_DIR "nghttp2/nghttp2.h")
|
|
|
|
find_library(NGHTTP2_LIBRARY NAMES nghttp2)
|
|
|
|
find_package_handle_standard_args(NGHTTP2
|
|
FOUND_VAR
|
|
NGHTTP2_FOUND
|
|
REQUIRED_VARS
|
|
NGHTTP2_LIBRARY
|
|
NGHTTP2_INCLUDE_DIR
|
|
FAIL_MESSAGE
|
|
"Could NOT find NGHTTP2"
|
|
)
|
|
|
|
set(NGHTTP2_INCLUDE_DIRS ${NGHTTP2_INCLUDE_DIR})
|
|
set(NGHTTP2_LIBRARIES ${NGHTTP2_LIBRARY})
|