From 1a20b9d154051db97fe1bb72dba6e521db670d32 Mon Sep 17 00:00:00 2001 From: Tomáš Chvátal Date: Fri, 22 May 2009 16:36:49 +0200 Subject: Compress documentation by default. --- cmake/FindBZIP2.cmake | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 cmake/FindBZIP2.cmake (limited to 'cmake') diff --git a/cmake/FindBZIP2.cmake b/cmake/FindBZIP2.cmake new file mode 100644 index 0000000..6b26aa1 --- /dev/null +++ b/cmake/FindBZIP2.cmake @@ -0,0 +1,12 @@ +# This scripts search up bzip2 binary and put it to the +# BZIP2_TOOL varable. +FIND_PROGRAM(BZIP2_TOOL + NAMES bzip2 + PATHS + /bin + /usr/bin + /usr/local/bin +) +IF(NOT BZIP2_TOOL) + MESSAGE(FATAL_ERROR "Unable to find 'bzip2' executable") +ENDIF(NOT BZIP2_TOOL) -- cgit v1.2.3