blob: 1a076ff888c872a453f3848b8f597e96fbac2f39 (
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)
|