blob: ca15d5a4aa517bba885469a45c17efc3c5eea98c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# This scripts search up bzip2 binary and put it to the
# GZIP_TOOL varable.
FIND_PROGRAM(GZIP_TOOL
NAMES gzip
PATHS
/bin
/usr/bin
/usr/local/bin
)
IF(NOT GZIP_TOOL)
IF(GZIP_REQUIRED)
MESSAGE(FATAL_ERROR "Unable to find 'gzip' executable")
ENDIF(GZIP_REQUIRED)
ENDIF(NOT GZIP_TOOL)
|