File: FindTransfig.cmake

package info (click to toggle)
diet 2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 38,140 kB
  • sloc: ansic: 65,575; cpp: 58,570; xml: 365; sh: 83; makefile: 29
file content (25 lines) | stat: -rw-r--r-- 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# This module looks for transfig's fig2dev conversion utility
# (fig stands for "Facility for Interactive Generation of figures")
#
# The following variables are set:
# FIG2DEV               - Path to fig2dev utility
# TRANSFIG_FOUND        - When false, don't try to use TRANSFIG
#
 
FIND_PROGRAM(FIG2DEV
  NAMES
  fig2dev
  PATH
  ${CYGWIN_INSTALL_PATH}/bin
  /bin
  /usr/bin
  /usr/local/bin
  /sbin
)

SET( TRANSFIG_FOUND FALSE )
IF( FIG2DEV )
  SET( TRANSFIG_FOUND TRUE )
  MARK_AS_ADVANCED( FIG2DEV )
ENDIF( FIG2DEV )