diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-11-20 04:30:42 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-11-20 04:30:42 +0100 |
commit | 329b4310b3ce436f1cd182e821ac65579ae26021 (patch) | |
tree | 32b2e2a800e1cc943346d20c5c7bdec88433912c /cmake | |
parent | Enable http/3 support (diff) | |
download | nheko-329b4310b3ce436f1cd182e821ac65579ae26021.tar.xz |
Fix cmark warning
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Findcmark.cmake | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cmake/Findcmark.cmake b/cmake/Findcmark.cmake index 29092bb0..6f3e72a3 100644 --- a/cmake/Findcmark.cmake +++ b/cmake/Findcmark.cmake @@ -2,7 +2,7 @@ # CMake module to search for the cmark library # -include(FindPkgConfig) +find_package(PkgConfig) pkg_check_modules(PC_CMARK QUIET cmark) if(NOT CMARK_INCLUDE_DIR) @@ -34,9 +34,8 @@ endif() include(FindPackageHandleStandardArgs) find_package_handle_standard_args(cmark - DEFAULT_MSG - CMARK_INCLUDE_DIR - CMARK_LIBRARY) + REQUIRED_VARS CMARK_LIBRARY CMARK_INCLUDE_DIR +) mark_as_advanced(CMARK_LIBRARY CMARK_INCLUDE_DIR) |