Skip to content
Snippets Groups Projects
Verified Commit 329b4310 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix cmark warning

parent 5b929c9d
No related branches found
No related tags found
No related merge requests found
Pipeline #3949 passed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment