blob: c5ea5edf50d0d77fdbfc5347ebee9d73a7ecf45c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# This module looks for Pandoc, and sets PANDOC_EXECUTABLE to the
# location of its binary.
#
# It respects the variable Pandoc_FIND_QUIETLY
include(FindPackageHandleStandardArgs)
if(DEFINED PANDOC_EXECUTABLE)
set(Pandoc_FIND_QUIETLY TRUE)
endif()
find_program(PANDOC_EXECUTABLE
NAMES pandoc
DOC "Pandoc - a universal document converter")
find_package_handle_standard_args(Pandoc REQUIRED_VARS PANDOC_EXECUTABLE)
mark_as_advanced(PANDOC_EXECUTABLE)
|