# 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)