cmake/FindGhostscript.cmake
changeset 226 4c9d85f5dc93
child 520 97070bd10b98
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cmake/FindGhostscript.cmake	Fri Jul 18 16:47:27 2008 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +INCLUDE(FindPackageHandleStandardArgs)
     1.5 +
     1.6 +FIND_PROGRAM(GHOSTSCRIPT_EXECUTABLE
     1.7 +  NAMES gs gswin32c
     1.8 +  PATHS "$ENV{ProgramFiles}/gs"
     1.9 +  PATH_SUFFIXES gs8.61/bin gs8.62/bin
    1.10 +  DOC "Ghostscript: PostScript and PDF language interpreter and previewer."
    1.11 +)
    1.12 +
    1.13 +FIND_PACKAGE_HANDLE_STANDARD_ARGS(Ghostscript DEFAULT_MSG GHOSTSCRIPT_EXECUTABLE)