Fix cmark warning

pull/1239/head
Nicolas Werner 2 years ago
parent 5b929c9d1a
commit 329b4310b3
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 7
      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)

Loading…
Cancel
Save