summaryrefslogtreecommitdiff
path: root/lemon/cmake/FindGhostscript.cmake
blob: 3366a000e1bd74315ddf01359a783094123632f4 (about) (plain)
1
2
3
4
5
6
7
8
9
10
INCLUDE(FindPackageHandleStandardArgs)

FIND_PROGRAM(GHOSTSCRIPT_EXECUTABLE
  NAMES gs gswin32c
  PATHS "$ENV{ProgramFiles}/gs"
  PATH_SUFFIXES gs8.61/bin gs8.62/bin gs8.63/bin gs8.64/bin gs8.65/bin
  DOC "Ghostscript: PostScript and PDF language interpreter and previewer."
)

FIND_PACKAGE_HANDLE_STANDARD_ARGS(Ghostscript DEFAULT_MSG GHOSTSCRIPT_EXECUTABLE)